#include <openvdb/Platform.h>
#include <openvdb/version.h>
#include <iostream>
#include <stdint.h>
#include <stdio.h>
#include <limits>
Go to the source code of this file.
◆ IMATH_HALF_NO_LOOKUP_TABLE
      
        
          | #define IMATH_HALF_NO_LOOKUP_TABLE | 
      
 
 
◆ VDB_HALF_DECIMAL_DIG
      
        
          | #define VDB_HALF_DECIMAL_DIG   5 | 
      
 
 
◆ VDB_HALF_DIG
◆ VDB_HALF_EPSILON
      
        
          | #define VDB_HALF_EPSILON   0.00097656 | 
      
 
 
◆ VDB_HALF_MANT_DIG
      
        
          | #define VDB_HALF_MANT_DIG   11 | 
      
 
 
◆ VDB_HALF_MAX
      
        
          | #define VDB_HALF_MAX   65504.0 | 
      
 
 
◆ VDB_HALF_MAX_10_EXP
      
        
          | #define VDB_HALF_MAX_10_EXP   4 | 
      
 
Maximum positive integer such that 10 raised to that power is a normalized half 
 
 
◆ VDB_HALF_MAX_EXP
      
        
          | #define VDB_HALF_MAX_EXP   16 | 
      
 
 
◆ VDB_HALF_MIN
      
        
          | #define VDB_HALF_MIN   6.10351562e-05f | 
      
 
 
◆ VDB_HALF_NRM_MIN
      
        
          | #define VDB_HALF_NRM_MIN   6.10351562e-05 | 
      
 
 
◆ VDB_HALF_RADIX
◆ VDBB_HALF_DENORM_MIN
      
        
          | #define VDBB_HALF_DENORM_MIN   5.96046448e-08 | 
      
 
 
◆ VDBB_HALF_DENORM_MIN_10_EXP
      
        
          | #define VDBB_HALF_DENORM_MIN_10_EXP   -4 | 
      
 
Minimum positive integer such that 10 raised to that power is a normalized half 
 
 
◆ VDBB_HALF_DENORM_MIN_EXP
      
        
          | #define VDBB_HALF_DENORM_MIN_EXP   -13 | 
      
 
 
◆ half
if we're in a C-only context, alias the half bits type to half 
 
 
◆ imath_half_bits_t
a type for both C-only programs and C++ to use the same utilities 
 
 
◆ imath_half_uif_t
a type for both C-only programs and C++ to use the same utilities 
 
 
◆ imath_float_to_half()
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 
 
 
◆ imath_half_to_float()
◆ operator<<()
Output h to os, formatted as a float. 
 
 
◆ operator>>()
◆ printBits() [1/4]
◆ printBits() [2/4]
◆ printBits() [3/4]
      
        
          | OPENVDB_API void printBits | ( | std::ostream & | os, | 
        
          |  |  | float | f ) | 
      
 
 
◆ printBits() [4/4]