|
|
|
|
|
by saurik
5050 days ago
|
|
The things this author likes about NaN are also properties of NULL in many environments (that NULL cannot be compared to NULL, that operating on NULL returns NULL, etc.); so while you might not see many languages default initializing things to NaN, you do see them default initializing things to NULL with similar effect. |
|
EDIT: I do not know how D implements NaNs; they may have magic to make them more sane to work with.