On Tuesday, 27 August 2019 at 16:45:53 UTC, Samir wrote: > I never understood why the intial value of floats, doubles and > reals was NaN. That's for detecting uninitialised variables. If the result of a calculation is NaN, it's likely, that you forgot to initialise the variable.