|
RMW desert 1.0
|
Class for 1.31 unsigned floating-point computation. More...
#include <half.hpp>
Public Member Functions | |
| HALF_CONSTEXPR | f31 (uint32 mant, int e) |
| f31 (unsigned int abs) | |
Public Attributes | |
| uint32 | m |
| mantissa as 1.31. | |
| int | exp |
| exponent. | |
Friends | |
| f31 | operator+ (f31 a, f31 b) |
| f31 | operator- (f31 a, f31 b) |
| f31 | operator* (f31 a, f31 b) |
| f31 | operator/ (f31 a, f31 b) |
Class for 1.31 unsigned floating-point computation.
Constructor.
| mant | mantissa as 1.31 |
| e | exponent |
Constructor.
| abs | unsigned half-precision value |
Multiplication operator.
| a | first operand |
| b | second operand |
Addition operator.
| a | first operand |
| b | second operand |
Subtraction operator.
| a | first operand |
| b | second operand |
Division operator.
| a | first operand |
| b | second operand |