float-pointing number in MatLab -- MatLab

float-pointing number in MatLab -- MatLab



properties

flintmax

abbreviation of float largest integer max.

f= flintmax returns the largest consecutive integer in IEEE® double precision, which is 2^53. Above this value, double-precision format does not have integer precision, and not all integers can be represented exactly.


f = flintmax(precision) returns the largest consecutive integer in IEEE single or double precision. flintmax returns single(2^24) for single precision and 2^53 for double precision.


source:

Largest consecutive integer in floating-point format - MATLAB flintmax (mathworks.com)


intmin

abbreviation of integer min.

smallest value of specified integer type.

v = intmin('classname') is the smallest positive value in the integer class classname.

 Valid values for the string classname are

'int8'

'int16'

'int32'

'int64'

'uint8'

'uint16'

'uint32'

'uint64'



[NOTE]

intmin('int32') is the same as intmin with no arguments.
i.e. call intmin('int32') will return intmin.

source:

intmax

abbreviation of integer max.

the largest value of the 32-bit signed integer type.

Comments