Lines Matching +full:half +full:- +full:bit
2 * Copyright (c) 2014-2020 Pavel Kalvoda <me@pavelkalvoda.com>
20 * - a logical `value` to encode (except for trivial items such as NULLs)
21 * - an output `buffer` pointer
22 * - a `buffer_size` specification
101 /** Encodes a half-precision float
103 * Since there is no native representation or semantics for half floats
104 * in the language, we use single-precision floats, as every value that
105 * can be expressed as a half-float can also be expressed as a float.
109 * - Infinity, NaN are preserved
110 * - Zero is preserved
111 * - Denormalized numbers keep their sign bit and 10 most significant bit of
113 * - All other numbers
114 * - If the logical value of the exponent is < -24, the output is zero
115 * - If the logical value of the exponent is between -23 and -14, the output
117 * mean (-1)^{signbit} x 1.0e{exponent}. The value in the significand is
119 * - In all other cases, the sign bit, the exponent, and 10 most significant