write a code in MATLAB that converts decimal to IEEE754 64 b
write a code in MATLAB that converts decimal to IEEE-754 64 bit double precision
Solution
Matlab constructs a double precision or double based on IEEE-754 standards,
The double function can be used for that .
code:
x = int64(-47312847934219); % Creates a 64 bit integer.
y = double(x) % Convert to double
sample output.
y = -4.7313e+13
By default the double-precision would be of 64 bit in matlab.

