flintmax

Largest consecutive integer in floating-point format.

Syntax

  • R = flintmax()

  • R = flintmax('double')

  • R = flintmax('single')

  • R = flintmax('like', V)

Input argument

  • V - a double or single variable.

Output argument

  • R - a double or single.

Description

flintmax returns largest consecutive integer in floating-point format.

Example

flintmax
flintmax('double')
flintmax('like', pi)
flintmax('single')

See also

intmax.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated