Entering a signaling NaN into the expressive otuput window causes it prints it as inf
incorrectly. This bugs happens all the time but only on Studio.
Here’s the code for reproduction
local qnan, nan_ind, snan, minus_snan = tonumber('nan'), tonumber('-nan(ind)'), tonumber('nan(snan)'), tonumber('-nan(snan)')
print(qnan, nan_ind, snan, minus_snan)
print{qnan, nan_ind, snan, minus_snan}
print out the following, the first one is where the value is tostring’d while the second one is where the value is converted to string using expressive output window.
This only happens on Roblox Studio as it only happens on the expresive output window. tostring
converts it to these value correctly.
Note this is for signaling NaN only, quiet NaN doesn’t have this issue.