Lines Matching refs:ex

16     int ex = (in[0] >> 20) & 0x7FF;    /* exponent */
19 if ((ex > 0x3ff + 52 - 1) || /* things this big can't be fractional */
28 * Special case: ex < 0x3ff, ie our number is in (0,1). Return
31 if (ex < 0x3ff) {
45 for (i = ex; i < 0x3ff + 52; i++) {
56 for (i = ex; i < 0x3ff + 52; i++) {
79 int ex = (*in >> 23) & 0xFF; /* exponent */
82 if ((ex > 0x7f + 23 - 1) || /* things this big can't be fractional */
90 * Special case: ex < 0x7f, ie our number is in (0,1). Return
93 if (ex < 0x7f) {
105 for (i = ex; i < 0x7F + 23; i++) {
114 for (i = ex; i < 0x7F + 23; i++) {
275 int ex = (x[0] >> 20) & 0x7FF; /* exponent */
278 if (ex == 0x7FF) { /* inf/NaN; just return x */
290 ex = n + n2;
291 if (ex > 0x400) { /* overflow */
297 * Underflow. 2^-1074 is 00000000.00000001; so if ex == -1074
303 * So, ex < -1074 is definite underflow, and ex == -1074 is
306 if (ex < -1074 || (ex == -1074 && (y[0] & 0xFFFFF) == 0 && y[1] == 0)) {
316 if (ex < -1021) { /* denormalise and round */
321 while (ex < -1021) {
327 ex++;
343 out[0] = y[0] + (ex << 20);
353 int ex = (*x >> 23) & 0xFF; /* exponent */
356 if (ex == 0xFF) { /* inf/NaN; just return x */
366 ex = n + n2;
367 if (ex > 0x80) { /* overflow */
372 * Underflow. 2^-149 is 00000001; so if ex == -149 then we have
378 * So, ex < -149 is definite underflow, and ex == -149 is
381 if (ex < -149 || (ex == -149 && (y & 0x7FFFFF) == 0)) {
390 if (ex < -125) { /* denormalise and round */
395 while (ex < -125) {
400 ex++;
414 *out = y + (ex << 23);
420 int ex = (x[0] >> 20) & 0x7FF; /* exponent */
421 if (ex == 0x7FF) { /* inf/NaN; return x/0 */
427 if (ex == 0) { /* denormals/zeros */
440 ex = 1;
442 ex--;
448 nout[0] = ex - 0x3FE;
453 nout[0] = ex - 0x3FE;
458 int ex = (*x >> 23) & 0xFF; /* exponent */
459 if (ex == 0xFF) { /* inf/NaN; return x/0 */
464 if (ex == 0) { /* denormals/zeros */
475 ex = 1;
477 ex--;
481 nout[0] = ex - 0x7E;
485 nout[0] = ex - 0x7E;
490 int ex = (x[0] >> 20) & 0x7FF; /* exponent */
517 ex--;
521 fout[0] = sign | (ex << 20) | (fh & 0xFFFFF);
527 int ex = (*x >> 23) & 0xFF; /* exponent */
550 ex--;
553 *fout = sign | (ex << 23) | (f & 0x7FFFFF);