Class for 1.31 unsigned floating-point computation.
More...
#include <half.hpp>
Class for 1.31 unsigned floating-point computation.
Definition at line 1838 of file half.hpp.
◆ f31() [1/2]
Constructor.
- Parameters
-
mant | mantissa as 1.31 |
e | exponent |
Definition at line 1843 of file half.hpp.
◆ f31() [2/2]
Constructor.
- Parameters
-
abs | unsigned half-precision value |
Definition at line 1847 of file half.hpp.
◆ operator*
Multiplication operator.
- Parameters
-
a | first operand |
b | second operand |
- Returns
- a * b
Definition at line 1886 of file half.hpp.
◆ operator+
Addition operator.
- Parameters
-
a | first operand |
b | second operand |
- Returns
- a + b
Definition at line 1858 of file half.hpp.
◆ operator-
Subtraction operator.
- Parameters
-
a | first operand |
b | second operand |
- Returns
- a - b
Definition at line 1872 of file half.hpp.
◆ operator/
Division operator.
- Parameters
-
a | first operand |
b | second operand |
- Returns
- a / b
Definition at line 1897 of file half.hpp.
◆ exp
The documentation for this struct was generated from the following file: