#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.
#define IMATH_HALF_NO_LOOKUP_TABLE |
#define VDB_HALF_DECIMAL_DIG 5 |
Number of base-10 digits that are necessary to uniquely represent all distinct values:
ceil(HALF_MANT_DIG * log10(2) + 1) => 4.31... -> 5
Definition at line 255 of file Half.h.
Number of base 10 digits that can be represented without change:
floor( (HALF_MANT_DIG - 1) * log10(2) ) => 3.01... -> 3
Definition at line 250 of file Half.h.
#define VDB_HALF_EPSILON 0.00097656 |
Smallest positive e for which half(1.0 + e) != half(1.0)
Definition at line 242 of file Half.h.
#define VDB_HALF_MANT_DIG 11 |
Number of digits in mantissa (significand + hidden leading 1)
Definition at line 246 of file Half.h.
#define VDB_HALF_MAX 65504.0 |
Largest positive half.
Definition at line 240 of file Half.h.
#define VDB_HALF_MAX_10_EXP 4 |
Maximum positive integer such that 10 raised to that power is a normalized half
Definition at line 269 of file Half.h.
#define VDB_HALF_MAX_EXP 16 |
Maximum positive integer such that HALF_RADIX
raised to the power of one less than that integer is a normalized half
Definition at line 263 of file Half.h.
#define VDB_HALF_MIN 6.10351562e-05f |
Smallest positive normalized half.
Definition at line 238 of file Half.h.
#define VDB_HALF_NRM_MIN 6.10351562e-05 |
Smallest positive normalized half.
Definition at line 236 of file Half.h.
Base of the exponent.
Definition at line 257 of file Half.h.
#define VDBB_HALF_DENORM_MIN 5.96046448e-08 |
Smallest positive denormalized half.
Definition at line 234 of file Half.h.
#define VDBB_HALF_DENORM_MIN_10_EXP -4 |
Minimum positive integer such that 10 raised to that power is a normalized half
Definition at line 266 of file Half.h.
#define VDBB_HALF_DENORM_MIN_EXP -13 |
Minimum negative integer such that HALF_RADIX
raised to the power of one less than that integer is a normalized half
Definition at line 260 of file Half.h.