Expressive output window prints as 'inf' for signaling NaN

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.
image

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.

2 Likes

I’m not able to reproduce this. Are you still seeing it?

2 Likes

Yes, I’m still seeing this on the studio expressive output window:
image

2 Likes

This issue should now be resolved! If this issue is still occurring, please create a new topic for us to look into.

3 Likes

This topic was automatically closed after 6 days. New replies are no longer allowed.