<< intmax Integers type uint16 >>

intmin


Return the smallest integer that can be represented in an integer type.


Syntax


imin = intmin()
imin = intmin(classname)

Input argument


classname

a string: by default: int32

Output argument


imin

smallest integer

Description


imin = intmin(classname)the smallest 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 = intmin('int64')
res = class(A)

A = intmin('uint32')
res = class(C)

See also


intmax, class.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< intmax Integers type uint16 >>