Single Precision Floating Point
The single precision floating point number requires 32 bits for representation by the standards of IEE®. These 32 bits are formatted as following.
Bit Number/Range | Bits’ Functionality |
---|---|
31 |
Sign: – 0 for positive. 1 for negative. |
30-23 | exponent part; biased by 127 |
22-0 | mantissa of the number; 1.f |
Where exponent and mantissa are the components of exponential/scientific notation of a number.
Matlab Floating Point Precision
Numeric class in MATLAB includes signed and unsigned integers, single-precision floating-point numbers, and double-precision floating-point numbers. Generally, MATLAB stores all numeric values as double-precision floating-point.Floating Point Numbers in MATLAB are stored in two forms:
- Single Precision Floating point
- Double Precision Floating point
MATLAB keeps the double precision floating point as the default floating point representation however, it can be changed to single by a very simple function.
Contact Us