Home | History | Annotate | Download | only in sort

Lines Matching defs:exponent

226  * Numbers are converted to a floating point format (exponent & mantissa)
231 * The first byte contain the overall sign, exponent sign and some of the
232 * exponent. These have to be ordered (-ve value, decreasing exponent),
233 * zero, (+ve value, increasing exponent).
235 * The first byte is 0x80 for zero, 0xc0 for +ve with exponent 0.
239 * The largest 4 exponent values are used to hold a byte count of the
240 * number of following bytes that contain 8 exponent bits per byte,
254 int exponent = -1;
270 /* Ensure we have enough space for the exponent */
291 exponent--;
296 exponent++;
309 if (exponent < 0x40 - MAX_EXP_ENC && -exponent < 0x40 - MAX_EXP_ENC) {
311 /* exponent 0 is 0xc0 for +ve numbers and 0x40 for -ve ones */
312 exponent += 0xc0;
313 *pos++ = negate ^ exponent;
317 t = exponent > 0 ? exponent : -exponent;
327 if (exponent < 0)
332 *pos++ = negate ^ (exponent >> (c * 8));