Passer au contenu principal

//ERDDAP/com.cohort.util/ScriptMath2/floatToDoubleNaN

floatToDoubleNaN

[JVM]
fun floatToDoubleNaN(f: Double): Double

Crudely (not nicely) converts a float to a double (including the non-standard conversion of INFINITY values to NaN). See floatToDouble.

Return

a double. If f is NaN or +-INFINITY, this returns Double.NaN.

Parameters

JVM

fa float or double