Lines Matching refs:v1

144     union ieee754_float v1;  in do_test()  local
148 v1.f = f = FLT_MIN; in do_test()
168 if (v1.ieee.mantissa != v2.ieee.mantissa) in do_test()
171 v1.ieee.mantissa, v2.ieee.mantissa); in do_test()
174 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
177 v1.ieee.exponent, v2.ieee.exponent); in do_test()
180 if (v1.ieee.negative != v2.ieee.negative) in do_test()
183 v1.ieee.negative, v2.ieee.negative); in do_test()
187 v1.f = f = -FLT_MIN; in do_test()
207 if (v1.ieee.mantissa != v2.ieee.mantissa) in do_test()
210 v1.ieee.mantissa, v2.ieee.mantissa); in do_test()
213 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
216 v1.ieee.exponent, v2.ieee.exponent); in do_test()
219 if (v1.ieee.negative != v2.ieee.negative) in do_test()
222 v1.ieee.negative, v2.ieee.negative); in do_test()
252 v1.f = f = 0.0625; in do_test()
256 if (v1.ieee.mantissa != v2.ieee.mantissa) in do_test()
259 v1.ieee.mantissa, v2.ieee.mantissa); in do_test()
262 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
265 v1.ieee.exponent, v2.ieee.exponent); in do_test()
268 if (v1.ieee.negative != v2.ieee.negative) in do_test()
271 v1.ieee.negative, v2.ieee.negative); in do_test()
275 v1.f = f = 0.0625; in do_test()
279 if (v1.ieee.mantissa != v2.ieee.mantissa) in do_test()
282 v1.ieee.mantissa, v2.ieee.mantissa); in do_test()
285 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
288 v1.ieee.exponent, v2.ieee.exponent); in do_test()
291 if (v1.ieee.negative != v2.ieee.negative) in do_test()
294 v1.ieee.negative, v2.ieee.negative); in do_test()
298 v1.f = f = -0.0625; in do_test()
302 if (v1.ieee.mantissa != v2.ieee.mantissa) in do_test()
305 v1.ieee.mantissa, v2.ieee.mantissa); in do_test()
308 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
311 v1.ieee.exponent, v2.ieee.exponent); in do_test()
314 if (v1.ieee.negative != v2.ieee.negative) in do_test()
317 v1.ieee.negative, v2.ieee.negative); in do_test()
321 v1.f = f = -0.0625; in do_test()
325 if (v1.ieee.mantissa != v2.ieee.mantissa) in do_test()
328 v1.ieee.mantissa, v2.ieee.mantissa); in do_test()
331 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
334 v1.ieee.exponent, v2.ieee.exponent); in do_test()
337 if (v1.ieee.negative != v2.ieee.negative) in do_test()
340 v1.ieee.negative, v2.ieee.negative); in do_test()
344 v1.f = f = 0.0f; in do_test()
348 if (v1.ieee.mantissa != v2.ieee.mantissa) in do_test()
351 v1.ieee.mantissa, v2.ieee.mantissa); in do_test()
354 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
357 v1.ieee.exponent, v2.ieee.exponent); in do_test()
367 v1.f = f = 0.0f; in do_test()
371 if (v1.ieee.mantissa != v2.ieee.mantissa) in do_test()
374 v1.ieee.mantissa, v2.ieee.mantissa); in do_test()
377 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
380 v1.ieee.exponent, v2.ieee.exponent); in do_test()
410 union ieee754_double v1; in do_test() local
414 v1.d = d = DBL_MIN; in do_test()
434 if (v1.ieee.mantissa0 != v2.ieee.mantissa0) in do_test()
437 v1.ieee.mantissa0, v2.ieee.mantissa0); in do_test()
440 if (v1.ieee.mantissa1 != v2.ieee.mantissa1) in do_test()
443 v1.ieee.mantissa1, v2.ieee.mantissa1); in do_test()
446 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
449 v1.ieee.exponent, v2.ieee.exponent); in do_test()
452 if (v1.ieee.negative != v2.ieee.negative) in do_test()
455 v1.ieee.negative, v2.ieee.negative); in do_test()
459 v1.d = d = -DBL_MIN; in do_test()
479 if (v1.ieee.mantissa0 != v2.ieee.mantissa0) in do_test()
482 v1.ieee.mantissa0, v2.ieee.mantissa0); in do_test()
485 if (v1.ieee.mantissa1 != v2.ieee.mantissa1) in do_test()
488 v1.ieee.mantissa1, v2.ieee.mantissa1); in do_test()
491 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
494 v1.ieee.exponent, v2.ieee.exponent); in do_test()
497 if (v1.ieee.negative != v2.ieee.negative) in do_test()
500 v1.ieee.negative, v2.ieee.negative); in do_test()
530 v1.d = d = 0.0625; in do_test()
534 if (v1.ieee.mantissa0 != v2.ieee.mantissa0) in do_test()
537 v1.ieee.mantissa0, v2.ieee.mantissa0); in do_test()
540 if (v1.ieee.mantissa1 != v2.ieee.mantissa1) in do_test()
543 v1.ieee.mantissa1, v2.ieee.mantissa1); in do_test()
546 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
549 v1.ieee.exponent, v2.ieee.exponent); in do_test()
552 if (v1.ieee.negative != v2.ieee.negative) in do_test()
555 v1.ieee.negative, v2.ieee.negative); in do_test()
559 v1.d = d = 0.0625; in do_test()
563 if (v1.ieee.mantissa0 != v2.ieee.mantissa0) in do_test()
566 v1.ieee.mantissa0, v2.ieee.mantissa0); in do_test()
569 if (v1.ieee.mantissa1 != v2.ieee.mantissa1) in do_test()
572 v1.ieee.mantissa1, v2.ieee.mantissa1); in do_test()
575 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
578 v1.ieee.exponent, v2.ieee.exponent); in do_test()
581 if (v1.ieee.negative != v2.ieee.negative) in do_test()
584 v1.ieee.negative, v2.ieee.negative); in do_test()
588 v1.d = d = -0.0625; in do_test()
592 if (v1.ieee.mantissa0 != v2.ieee.mantissa0) in do_test()
595 v1.ieee.mantissa0, v2.ieee.mantissa0); in do_test()
598 if (v1.ieee.mantissa1 != v2.ieee.mantissa1) in do_test()
601 v1.ieee.mantissa1, v2.ieee.mantissa1); in do_test()
604 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
607 v1.ieee.exponent, v2.ieee.exponent); in do_test()
610 if (v1.ieee.negative != v2.ieee.negative) in do_test()
613 v1.ieee.negative, v2.ieee.negative); in do_test()
617 v1.d = d = -0.0625; in do_test()
621 if (v1.ieee.mantissa0 != v2.ieee.mantissa0) in do_test()
624 v1.ieee.mantissa0, v2.ieee.mantissa0); in do_test()
627 if (v1.ieee.mantissa1 != v2.ieee.mantissa1) in do_test()
630 v1.ieee.mantissa1, v2.ieee.mantissa1); in do_test()
633 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
636 v1.ieee.exponent, v2.ieee.exponent); in do_test()
639 if (v1.ieee.negative != v2.ieee.negative) in do_test()
642 v1.ieee.negative, v2.ieee.negative); in do_test()
646 v1.d = d = 0.0; in do_test()
650 if (v1.ieee.mantissa0 != v2.ieee.mantissa0) in do_test()
653 v1.ieee.mantissa0, v2.ieee.mantissa0); in do_test()
656 if (v1.ieee.mantissa1 != v2.ieee.mantissa1) in do_test()
659 v1.ieee.mantissa1, v2.ieee.mantissa1); in do_test()
662 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
665 v1.ieee.exponent, v2.ieee.exponent); in do_test()
675 v1.d = d = 0.0; in do_test()
679 if (v1.ieee.mantissa0 != v2.ieee.mantissa0) in do_test()
682 v1.ieee.mantissa0, v2.ieee.mantissa0); in do_test()
685 if (v1.ieee.mantissa1 != v2.ieee.mantissa1) in do_test()
688 v1.ieee.mantissa1, v2.ieee.mantissa1); in do_test()
691 if (v1.ieee.exponent != v2.ieee.exponent) in do_test()
694 v1.ieee.exponent, v2.ieee.exponent); in do_test()
725 long double v1, v2; in do_test() local
727 v1 = LDBL_MIN; in do_test()
728 if (fpclassify (v1) != FP_NORMAL) in do_test()
731 fpclassify (v1), v1); in do_test()
734 v2 = nextafterl (v1, LDBL_MIN / 2.0); in do_test()
749 if (v1 != v2) in do_test()
751 printf ("LDBL_MIN-epsilon+epsilon != LDBL_MIN: %La vs %La\n", v2, v1); in do_test()
755 v1 = -LDBL_MIN; in do_test()
756 if (fpclassify (v1) != FP_NORMAL) in do_test()
759 fpclassify (v1), v1); in do_test()
762 v2 = nextafterl (v1, -LDBL_MIN / 2.0); in do_test()
777 if (v1 != v2) in do_test()
779 printf ("-LDBL_MIN-epsilon+epsilon != -LDBL_MIN: %La vs %La\n", v2, v1); in do_test()
783 v1 = LDBL_MAX; in do_test()
784 if (fpclassify (v1) != FP_NORMAL) in do_test()
787 fpclassify (v1), v1); in do_test()
790 v2 = nextafterl (v1, INFINITY); in do_test()
798 v1 = -LDBL_MAX; in do_test()
799 if (fpclassify (v1) != FP_NORMAL) in do_test()
802 fpclassify (v1), v1); in do_test()
805 v2 = nextafterl (v1, -INFINITY); in do_test()
813 v1 = 0.0625; in do_test()
814 v2 = nextafterl (v1, 0.0); in do_test()
817 if (v1 != v2) in do_test()
819 printf ("0.0625L-epsilon+epsilon != 0.0625L: %La vs %La\n", v2, v1); in do_test()
823 v1 = 0.0625; in do_test()
824 v2 = nextafterl (v1, 1.0); in do_test()
827 if (v1 != v2) in do_test()
829 printf ("0.0625L+epsilon-epsilon != 0.0625L: %La vs %La\n", v2, v1); in do_test()
833 v1 = -0.0625; in do_test()
834 v2 = nextafterl (v1, 0.0); in do_test()
837 if (v1 != v2) in do_test()
839 printf ("-0.0625L+epsilon-epsilon != -0.0625L: %La vs %La\n", v2, v1); in do_test()
843 v1 = -0.0625; in do_test()
844 v2 = nextafterl (v1, -1.0); in do_test()
847 if (v1 != v2) in do_test()
849 printf ("-0.0625L-epsilon+epsilon != -0.0625L: %La vs %La\n", v2, v1); in do_test()
853 v1 = 0.0; in do_test()
854 v2 = nextafterl (v1, 1.0); in do_test()
857 if (v1 != v2) in do_test()
859 printf ("0.0+epsilon-epsilon != 0.0L: %La vs %La\n", v2, v1); in do_test()
868 v1 = 0.0; in do_test()
869 v2 = nextafterl (v1, -1.0); in do_test()
872 if (v1 != v2) in do_test()
874 printf ("0.0-epsilon+epsilon != 0.0L: %La vs %La\n", v2, v1); in do_test()