How can I check whether a float variable is NaN or not? e.g.
math.Log(1.0) // not NaN math.Log(-1.0) // NaN
Use math.IsNaN(...)
for that: playground
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With