|
OpenVDB 11.0.0
|
Classes | |
| class | half |
| union | imath_half_uif |
| a type for both C-only programs and C++ to use the same utilities More... | |
Typedefs | |
| typedef union openvdb::v11_0::math::internal::imath_half_uif | imath_half_uif_t |
| a type for both C-only programs and C++ to use the same utilities | |
| typedef uint16_t | imath_half_bits_t |
| a type for both C-only programs and C++ to use the same utilities | |
| typedef imath_half_bits_t | half |
| if we're in a C-only context, alias the half bits type to half | |
Functions | |
| static float | imath_half_to_float (imath_half_bits_t h) |
| static imath_half_bits_t | imath_float_to_half (float f) |
| OPENVDB_API void | printBits (std::ostream &os, half h) |
| OPENVDB_API void | printBits (std::ostream &os, float f) |
| OPENVDB_API void | printBits (char c[19], half h) |
| OPENVDB_API void | printBits (char c[35], float f) |
| OPENVDB_API std::ostream & | operator<< (std::ostream &os, half h) |
| Output h to os, formatted as a float. | |
| OPENVDB_API std::istream & | operator>> (std::istream &is, half &h) |
| Input h from is. | |
| typedef imath_half_bits_t half |
if we're in a C-only context, alias the half bits type to half
| typedef uint16_t imath_half_bits_t |
a type for both C-only programs and C++ to use the same utilities
a type for both C-only programs and C++ to use the same utilities
|
inlinestatic |
Convert half to float
Note: This only supports the "round to even" rounding mode, which was the only mode supported by the original OpenEXR library
|
inlinestatic |
Convert half to float
| OPENVDB_API std::ostream & operator<< | ( | std::ostream & | os, |
| half | h | ||
| ) |
Output h to os, formatted as a float.
| OPENVDB_API std::istream & operator>> | ( | std::istream & | is, |
| half & | h | ||
| ) |
Input h from is.
| OPENVDB_API void printBits | ( | char | c[19], |
| half | h | ||
| ) |
| OPENVDB_API void printBits | ( | char | c[35], |
| float | f | ||
| ) |
| OPENVDB_API void printBits | ( | std::ostream & | os, |
| float | f | ||
| ) |
| OPENVDB_API void printBits | ( | std::ostream & | os, |
| half | h | ||
| ) |