#include "ImathExport.h"
#include "ImathNamespace.h"
#include "ImathPlatform.h"
#include <stdint.h>
#include <stdio.h>
Go to the source code of this file.
#define 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 238 of file half.h.
#define HALF_DENORM_MIN 5.96046448e-08 |
Smallest positive denormalized half.
Definition at line 217 of file half.h.
#define HALF_DENORM_MIN_10_EXP -4 |
Minimum positive integer such that 10 raised to that power is a normalized half
Definition at line 249 of file half.h.
#define 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 243 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 233 of file half.h.
#define HALF_EPSILON 0.00097656 |
Smallest positive e for which half(1.0 + e) != half(1.0)
Definition at line 225 of file half.h.
Number of digits in mantissa (significand + hidden leading 1)
Definition at line 229 of file half.h.
Largest positive half.
Definition at line 223 of file half.h.
#define HALF_MAX_10_EXP 4 |
Maximum positive integer such that 10 raised to that power is a normalized half
Definition at line 252 of file half.h.
Maximum positive integer such that HALF_RADIX
raised to the power of one less than that integer is a normalized half
Definition at line 246 of file half.h.
#define HALF_MIN 6.10351562e-05f |
Smallest positive normalized half.
Definition at line 221 of file half.h.
#define HALF_NRM_MIN 6.10351562e-05 |
Smallest positive normalized half.
Definition at line 219 of file half.h.
Base of the exponent.
Definition at line 240 of file half.h.
if we're in a C-only context, alias the half bits type to half
Definition at line 266 of file half.h.
a type for both C-only programs and C++ to use the same utilities
Definition at line 262 of file half.h.
a type for both C-only programs and C++ to use the same utilities