Suppose a new standard MAE38416 is defined to store floating
Solution
Solution :
Part A)
realmin:
Smallest positive normalized floating-point number
Syntax
n = realmin
 realmin(\'double\')
 realmin(\'single\')
Description
n = realmin returns the smallest positive normalized floating-point number in IEEE double precision.
realmin(\'double\') is the same as realmin with no arguments.
realmin(\'single\') returns the smallest positive normalized floating-point number in IEEE single precision.
Examples
Find the value of the constant realmin:
Part B)
realmax
Largest positive floating-point number
Syntax
n = realmax
Description
n = realmax returns the largest finite floating-point number in IEEE double precision.
realmax(\'double\') is the same as realmax with no arguments.
realmax(\'single\') returns the largest finite floating-point number in IEEE single precision.
Examples
Find the value of the constant realmax:
Largest and Smallest Single-Precision Values
The MATLAB functions realmax and realmin, when called with the argument \'single\', return the maximum and minimum values that you can represent with the single data type:
Numbers larger than realmax(\'single\') or smaller than -realmax(\'single\') are assigned the values of positive and negative infinity, respectively:


