Returns the maximum finite value capable of being represented by a numeric real type.
The following numeric real types are supported:
float64
float32
float16
must provide a recognized numeric type
numeric type
maximum finite value
var m = realmax( 'float64' ); // returns 1.7976931348623157e+308
var m = realmax( 'float16' ); // returns 65504.0
var m = realmax( 'float32' ); // returns 3.4028234663852886e+38
Returns the maximum finite value capable of being represented by a numeric real type.
Notes
The following numeric real types are supported:
float64
: double-precision floating-point numbersfloat32
: single-precision floating-point numbersfloat16
: half-precision floating-point numbersmust provide a recognized numeric type