Skip to content

realmax

Largest positive finite floating-point number.

y = realmax
y = realmax(X)

Returns the largest finite double-precision value (≈ 1.7977e+308). With argument X of a different floating-point type, returns the corresponding value for that type. Values larger than realmax overflow to Inf.

realmax % 1.7977e+308
  • realmin — Smallest positive normalized floating-point number.
  • eps — Floating-point relative accuracy (machine epsilon).