Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.0initial version

Author

Allan CORNET