lua-users home
lua-l archive

Signed NaN

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,
I tried putting 0/0 into the Lua 5.4.0 interpreter and got a value of -nan. I am just wondering why the negative sign. I know that the value is mathematically undefined, but I sort of expected nan.
Best, Tony

AltStyle によって変換されたページ (->オリジナル) /