Class for 1.31 unsigned floating-point computation.
More...
#include <half.hpp>
Class for 1.31 unsigned floating-point computation.
Definition at line 4861 of file half.hpp.
◆ f31() [1/2]
Constructor.
- Parameters
-
| mant | mantissa as 1.31 |
| e | exponent |
Definition at line 4866 of file half.hpp.
◆ f31() [2/2]
| half_float::detail::f31::f31 |
( |
unsigned int |
abs | ) |
|
|
inline |
Constructor.
- Parameters
-
| abs | unsigned half-precision value |
Definition at line 4874 of file half.hpp.
◆ operator*
Multiplication operator.
- Parameters
-
| a | first operand |
| b | second operand |
- Returns
- a * b
Definition at line 4916 of file half.hpp.
◆ operator+
Addition operator.
- Parameters
-
| a | first operand |
| b | second operand |
- Returns
- a + b
Definition at line 4887 of file half.hpp.
◆ operator-
Subtraction operator.
- Parameters
-
| a | first operand |
| b | second operand |
- Returns
- a - b
Definition at line 4901 of file half.hpp.
◆ operator/
Division operator.
- Parameters
-
| a | first operand |
| b | second operand |
- Returns
- a / b
Definition at line 4927 of file half.hpp.
◆ exp
| int half_float::detail::f31::exp |
| uint32 half_float::detail::f31::m |
The documentation for this struct was generated from the following file: