Largest positive floating-point number
returns the largest finite
floating-point number in IEEE® double precision. This is equal to
f = realmax
Set the output format to long scientific notation. Return the largest finite floating-point number in IEEE® double precision.
format long e f = realmax
f = 1.797693134862316e+308
Return the largest finite floating-point number in IEEE® single precision.
f = realmax('single')
f = single 3.4028e+38
Check the class of
ans = 'single'
precision— Floating-point precision type
Floating-point precision type, specified as
backgroundPoolor accelerate code with Parallel Computing Toolbox™
This function fully supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment.