#https://community.bistudio.com/wiki/
1 messages · Page 1 of 1 (latest)
You can still generate infinity
only the string versions of the values changed
-1,#INF to -inf
Second is the C++ standard, first is what microsoft made up
Compiler upgrade, it now conforms to the standards
ok, well internal stuff I assume 😛 does the update ↑ seem accurate to you?
Yes thank you
btw also, I stumbled upon this, because sqrt of negative number returns nan(ind)
good, as I just clicked Publish 😄 thanks
sqrt -2.87305
is -nan(ind)
sooo… is that one a change?
Mh.. no its not
I think I'm on prof 😄
Contact script is running sqrt on a negative number. Which returns NaN, and then throws script error when it tries to use the NaN.
This is so weird.
in 2.16 it returns -1.#IND
so it, is a NaN.
But why did contact script not error before
Yea. Before 2.18 this code
_chanceFatal > random 1;```
return `false`. After 2.18 return `true`
Yeah comparison with NaN, now behaves like it is supposed to behave.
We figured that out for contact two weeks ago