Why type of NaN is float?
In all languages that I know (python, java, php, javascript etc.) type of NaN is float (double). **Is there any reason for that?** I didn't found such in IEEE 754. Even if NaN is stored internally as a float, shouldn't it be a separated type (similiar to null  / nil / none)?  **Are there any languages which are using separate type for NaN?**
Why type of NaN is float?
===

In all languages that I know (python, java, php, javascript etc.) type of NaN is float (double). **Is there any reason for that?** I didn't found such in IEEE 754. Even if NaN is stored internally as a float, shouldn't it be a separated type (similiar to null  / nil / none)?  **Are there any languages which are using separate type for NaN?**