#include <image.h>
Half precision (16 bit) float class.
Supports fast conversion between float and half precision.
Format is compatible with openEXRs half precision type. 1 sign bit, 5 exponent bits (bias = 15), 10 fraction bits.
Public Member Functions | |
| half_ () | |
| half_ (float f) | |
| operator float () const | |
| half_ & | operator= (float f) |