Return the largest consecutive integer in IEEE double
precision.
f =
9.007199254740992e+15
This is 2^53
.
Return the largest consecutive integer in IEEE single
precision.
This is single(2^24)
.
Check the class of f
.
Above the value returned by flintmax('single')
,
not all integers can be represented exactly with single precision.
Return the largest consecutive integer in IEEE single
precision.
This is single(2^24)
.
Add 1
to the value returned from flintmax
.
f1
is the same as f
.
Add 2
to the value returned from flintmax
.
16777218
is represented exactly in single
precision while 16777217
is not.