@@ -440,11 +440,11 @@ add_fp_unittest(
440
440
HDRS
441
441
RoundToIntegerTest.h
442
442
DEPENDS
443
+ libc.hdr.fenv_macros
443
444
libc.src.errno.errno
444
- libc.src.fenv.feclearexcept
445
- libc.src.fenv.feraiseexcept
446
- libc.src.fenv.fetestexcept
447
445
libc.src.math.lround
446
+ libc.src.__support.CPP.algorithm
447
+ libc.src.__support.FPUtil.fenv_impl
448
448
libc.src.__support.FPUtil.fp_bits
449
449
)
450
450
@@ -458,11 +458,11 @@ add_fp_unittest(
458
458
HDRS
459
459
RoundToIntegerTest.h
460
460
DEPENDS
461
+ libc.hdr.fenv_macros
461
462
libc.src.errno.errno
462
- libc.src.fenv.feclearexcept
463
- libc.src.fenv.feraiseexcept
464
- libc.src.fenv.fetestexcept
465
463
libc.src.math.lroundf
464
+ libc.src.__support.CPP.algorithm
465
+ libc.src.__support.FPUtil.fenv_impl
466
466
libc.src.__support.FPUtil.fp_bits
467
467
)
468
468
@@ -476,11 +476,29 @@ add_fp_unittest(
476
476
HDRS
477
477
RoundToIntegerTest.h
478
478
DEPENDS
479
+ libc.hdr.fenv_macros
479
480
libc.src.errno.errno
480
- libc.src.fenv.feclearexcept
481
- libc.src.fenv.feraiseexcept
482
- libc.src.fenv.fetestexcept
483
481
libc.src.math.lroundl
482
+ libc.src.__support.CPP.algorithm
483
+ libc.src.__support.FPUtil.fenv_impl
484
+ libc.src.__support.FPUtil.fp_bits
485
+ )
486
+
487
+ add_fp_unittest(
488
+ lroundf16_test
489
+ NEED_MPFR
490
+ SUITE
491
+ libc-math-unittests
492
+ SRCS
493
+ lroundf16_test.cpp
494
+ HDRS
495
+ RoundToIntegerTest.h
496
+ DEPENDS
497
+ libc.hdr.fenv_macros
498
+ libc.src.errno.errno
499
+ libc.src.math.lroundf16
500
+ libc.src.__support.CPP.algorithm
501
+ libc.src.__support.FPUtil.fenv_impl
484
502
libc.src.__support.FPUtil.fp_bits
485
503
)
486
504
@@ -494,11 +512,11 @@ add_fp_unittest(
494
512
HDRS
495
513
RoundToIntegerTest.h
496
514
DEPENDS
515
+ libc.hdr.fenv_macros
497
516
libc.src.errno.errno
498
- libc.src.fenv.feclearexcept
499
- libc.src.fenv.feraiseexcept
500
- libc.src.fenv.fetestexcept
501
517
libc.src.math.llround
518
+ libc.src.__support.CPP.algorithm
519
+ libc.src.__support.FPUtil.fenv_impl
502
520
libc.src.__support.FPUtil.fp_bits
503
521
)
504
522
@@ -512,11 +530,11 @@ add_fp_unittest(
512
530
HDRS
513
531
RoundToIntegerTest.h
514
532
DEPENDS
533
+ libc.hdr.fenv_macros
515
534
libc.src.errno.errno
516
- libc.src.fenv.feclearexcept
517
- libc.src.fenv.feraiseexcept
518
- libc.src.fenv.fetestexcept
519
535
libc.src.math.llroundf
536
+ libc.src.__support.CPP.algorithm
537
+ libc.src.__support.FPUtil.fenv_impl
520
538
libc.src.__support.FPUtil.fp_bits
521
539
)
522
540
@@ -530,11 +548,29 @@ add_fp_unittest(
530
548
HDRS
531
549
RoundToIntegerTest.h
532
550
DEPENDS
551
+ libc.hdr.fenv_macros
533
552
libc.src.errno.errno
534
- libc.src.fenv.feclearexcept
535
- libc.src.fenv.feraiseexcept
536
- libc.src.fenv.fetestexcept
537
553
libc.src.math.llroundl
554
+ libc.src.__support.CPP.algorithm
555
+ libc.src.__support.FPUtil.fenv_impl
556
+ libc.src.__support.FPUtil.fp_bits
557
+ )
558
+
559
+ add_fp_unittest(
560
+ llroundf16_test
561
+ NEED_MPFR
562
+ SUITE
563
+ libc-math-unittests
564
+ SRCS
565
+ llroundf16_test.cpp
566
+ HDRS
567
+ RoundToIntegerTest.h
568
+ DEPENDS
569
+ libc.hdr.fenv_macros
570
+ libc.src.errno.errno
571
+ libc.src.math.llroundf16
572
+ libc.src.__support.CPP.algorithm
573
+ libc.src.__support.FPUtil.fenv_impl
538
574
libc.src.__support.FPUtil.fp_bits
539
575
)
540
576
@@ -548,7 +584,9 @@ add_fp_unittest(
548
584
HDRS
549
585
RIntTest.h
550
586
DEPENDS
587
+ libc.hdr.fenv_macros
551
588
libc.src.math.rint
589
+ libc.src.__support.CPP.algorithm
552
590
libc.src.__support.FPUtil.fenv_impl
553
591
libc.src.__support.FPUtil.fp_bits
554
592
)
@@ -563,7 +601,9 @@ add_fp_unittest(
563
601
HDRS
564
602
RIntTest.h
565
603
DEPENDS
604
+ libc.hdr.fenv_macros
566
605
libc.src.math.rintf
606
+ libc.src.__support.CPP.algorithm
567
607
libc.src.__support.FPUtil.fenv_impl
568
608
libc.src.__support.FPUtil.fp_bits
569
609
)
@@ -578,7 +618,26 @@ add_fp_unittest(
578
618
HDRS
579
619
RIntTest.h
580
620
DEPENDS
621
+ libc.hdr.fenv_macros
581
622
libc.src.math.rintl
623
+ libc.src.__support.CPP.algorithm
624
+ libc.src.__support.FPUtil.fenv_impl
625
+ libc.src.__support.FPUtil.fp_bits
626
+ )
627
+
628
+ add_fp_unittest(
629
+ rintf16_test
630
+ NEED_MPFR
631
+ SUITE
632
+ libc-math-unittests
633
+ SRCS
634
+ rintf16_test.cpp
635
+ HDRS
636
+ RIntTest.h
637
+ DEPENDS
638
+ libc.hdr.fenv_macros
639
+ libc.src.math.rintf16
640
+ libc.src.__support.CPP.algorithm
582
641
libc.src.__support.FPUtil.fenv_impl
583
642
libc.src.__support.FPUtil.fp_bits
584
643
)
@@ -594,6 +653,7 @@ add_fp_unittest(
594
653
RoundToIntegerTest.h
595
654
DEPENDS
596
655
libc.src.math.lrint
656
+ libc.src.__support.CPP.algorithm
597
657
libc.src.__support.FPUtil.fenv_impl
598
658
libc.src.__support.FPUtil.fp_bits
599
659
)
@@ -609,6 +669,7 @@ add_fp_unittest(
609
669
RoundToIntegerTest.h
610
670
DEPENDS
611
671
libc.src.math.lrintf
672
+ libc.src.__support.CPP.algorithm
612
673
libc.src.__support.FPUtil.fenv_impl
613
674
libc.src.__support.FPUtil.fp_bits
614
675
)
@@ -624,6 +685,23 @@ add_fp_unittest(
624
685
RoundToIntegerTest.h
625
686
DEPENDS
626
687
libc.src.math.lrintl
688
+ libc.src.__support.CPP.algorithm
689
+ libc.src.__support.FPUtil.fenv_impl
690
+ libc.src.__support.FPUtil.fp_bits
691
+ )
692
+
693
+ add_fp_unittest(
694
+ lrintf16_test
695
+ NEED_MPFR
696
+ SUITE
697
+ libc-math-unittests
698
+ SRCS
699
+ lrintf16_test.cpp
700
+ HDRS
701
+ RoundToIntegerTest.h
702
+ DEPENDS
703
+ libc.src.math.lrintf16
704
+ libc.src.__support.CPP.algorithm
627
705
libc.src.__support.FPUtil.fenv_impl
628
706
libc.src.__support.FPUtil.fp_bits
629
707
)
@@ -639,6 +717,7 @@ add_fp_unittest(
639
717
RoundToIntegerTest.h
640
718
DEPENDS
641
719
libc.src.math.llrint
720
+ libc.src.__support.CPP.algorithm
642
721
libc.src.__support.FPUtil.fenv_impl
643
722
libc.src.__support.FPUtil.fp_bits
644
723
)
@@ -654,6 +733,7 @@ add_fp_unittest(
654
733
RoundToIntegerTest.h
655
734
DEPENDS
656
735
libc.src.math.llrintf
736
+ libc.src.__support.CPP.algorithm
657
737
libc.src.__support.FPUtil.fenv_impl
658
738
libc.src.__support.FPUtil.fp_bits
659
739
)
@@ -669,6 +749,23 @@ add_fp_unittest(
669
749
RoundToIntegerTest.h
670
750
DEPENDS
671
751
libc.src.math.llrintl
752
+ libc.src.__support.CPP.algorithm
753
+ libc.src.__support.FPUtil.fenv_impl
754
+ libc.src.__support.FPUtil.fp_bits
755
+ )
756
+
757
+ add_fp_unittest(
758
+ llrintf16_test
759
+ NEED_MPFR
760
+ SUITE
761
+ libc-math-unittests
762
+ SRCS
763
+ llrintf16_test.cpp
764
+ HDRS
765
+ RoundToIntegerTest.h
766
+ DEPENDS
767
+ libc.src.math.llrintf16
768
+ libc.src.__support.CPP.algorithm
672
769
libc.src.__support.FPUtil.fenv_impl
673
770
libc.src.__support.FPUtil.fp_bits
674
771
)
0 commit comments