What "is" c#`s Double.NaN?
-
Well according to the .net Referencesource its:
public const double NaN = (double)0.0 / (double)0.0;
But how? and Why? and foremost how?
0 / 0
should be compiler like ":~" what is this compiler trickery?
-
Well according to the .net Referencesource its:
public const double NaN = (double)0.0 / (double)0.0;
But how? and Why? and foremost how?
0 / 0
should be compiler like ":~" what is this compiler trickery?
[fortran - What is the internal representation of inf and NaN? - Stack Overflow](https://stackoverflow.com/questions/640109/what-is-the-internal-representation-of-inf-and-nan) [IEEE Floating-Point Representation | Microsoft Docs](https://docs.microsoft.com/en-us/cpp/build/ieee-floating-point-representation?view=vs-2019)
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food