intmax
Return the largest integer that can be represented in an integer type.
📝Syntax
imax = intmax()
imax = intmax(classname)
📥Input Arguments
Parameter Description
classname a string: by default: int32
📤Output Arguments
Parameter Description
imax largest integer
📄Description

imax = intmax(classname) the largest integer that can be represented in an integer type.

Supported values for the string classname are:

'int8'

'uint8'

'int16'

'uint16'

'int32'

'uint32'

'int64'

'uint64'

💡Examples
A = intmax('int64')
res = class(A)
A = intmax('uint32')
res = class(C)
🔗See Also
intminclass
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub