NAN


Description:

public const double NAN

Indicates that the value is not-a-number (NaN)

Example: Double and NAN:

public static int main (string[] args) {
// Output: ``nan -- true``
double val = double.NAN;
print ("%f -- %s\n", val, val.is_nan ().to_string ());
return 0;
}

valac --pkg glib-2.0 double.NAN.vala