|
Blender V5.0
|
#include <vk_data_conversion.hh>
Static Public Member Functions | |
| static uint32_t | get_mantissa (uint32_t floating_point_number) |
| static uint32_t | clear_mantissa (uint32_t floating_point_number) |
| static uint32_t | set_mantissa (uint32_t mantissa, uint32_t floating_point_number) |
| static uint32_t | get_exponent (uint32_t floating_point_number) |
| static uint32_t | clear_exponent (uint32_t floating_point_number) |
| static uint32_t | set_exponent (uint32_t exponent, uint32_t floating_point_number) |
| static bool | is_signed (uint32_t floating_point_number) |
| static uint32_t | clear_sign (uint32_t floating_point_number) |
| static uint32_t | set_sign (bool sign, uint32_t floating_point_number) |
Static Public Attributes | |
| static constexpr bool | HAS_SIGN = HasSignBit |
| static constexpr uint8_t | SIGN_SHIFT = MantissaBitLen + ExponentBitLen |
| static constexpr uint32_t | SIGN_MASK = HasSignBit ? 1 : 0 |
| static constexpr uint8_t | MANTISSA_LEN = MantissaBitLen |
| static constexpr uint8_t | MANTISSA_SHIFT = 0 |
| static constexpr uint32_t | MANTISSA_MASK = (1 << MantissaBitLen) - 1 |
| static constexpr uint32_t | MANTISSA_NAN_MASK = MANTISSA_MASK |
| static constexpr uint8_t | EXPONENT_SHIFT = MantissaBitLen |
| static constexpr uint8_t | EXPONENT_LEN = ExponentBitLen |
| static constexpr uint32_t | EXPONENT_MASK = (1 << ExponentBitLen) - 1 |
| static constexpr int32_t | EXPONENT_BIAS = (1 << (ExponentBitLen - 1)) - 1 |
| static constexpr int32_t | EXPONENT_SPECIAL_MASK = EXPONENT_MASK |
Description of a IEEE 754-1985 floating point data type.
Definition at line 70 of file vk_data_conversion.hh.
|
inlinestatic |
Definition at line 104 of file vk_data_conversion.hh.
Referenced by blender::gpu::FloatingPointFormat< true, 23, 8 >::set_exponent().
|
inlinestatic |
Definition at line 89 of file vk_data_conversion.hh.
Referenced by blender::gpu::FloatingPointFormat< true, 23, 8 >::set_mantissa().
|
inlinestatic |
Definition at line 122 of file vk_data_conversion.hh.
Referenced by blender::gpu::FloatingPointFormat< true, 23, 8 >::set_sign().
|
inlinestatic |
Definition at line 100 of file vk_data_conversion.hh.
|
inlinestatic |
Definition at line 85 of file vk_data_conversion.hh.
|
inlinestatic |
Definition at line 115 of file vk_data_conversion.hh.
|
inlinestatic |
Definition at line 108 of file vk_data_conversion.hh.
|
inlinestatic |
Definition at line 93 of file vk_data_conversion.hh.
|
inlinestatic |
Definition at line 127 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 82 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 80 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 81 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 79 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 83 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 72 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 75 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 77 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 78 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 76 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 74 of file vk_data_conversion.hh.
|
staticconstexpr |
Definition at line 73 of file vk_data_conversion.hh.