Skip to content

flintmax

builtin · libnexusinterp/corefcn/bitfcns-proprietary.cc

: Imax = flintmax ()
: Imax = flintmax (type)

Return the largest consecutive integer that floating point represents exactly.

With no argument, or with type equal to "double", the value is 2^53 (9007199254740992). With type equal to "single" it is 2^24 (16777216), returned in single precision. type may be passed as the class name or as a value of that class.