FUNCTION REFERENCE

flintmax

Largest consecutive integer in double precision.

Largest consecutive integer in double precision.

Syntax

flintmax

Syntax

flintmax('double')

Syntax

flintmax('single')

2^53 = 9007199254740992: every integer up to it is exactly representable.

For 'single' the value is 2^24 = 16777216. Other class names are rejected.

Example

flintmax   % 9.0072e+15

Example

flintmax('single')   % a single precision result

Differences from MATLAB: Only 'double' and 'single' class names are supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.