@@ -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
@@ -613,6 +649,7 @@ add_fp_unittest(
613
649
RoundToIntegerTest.h
614
650
DEPENDS
615
651
libc.src.math.lrint
652
+ libc.src.__support.CPP.algorithm
616
653
libc.src.__support.FPUtil.fenv_impl
617
654
libc.src.__support.FPUtil.fp_bits
618
655
)
@@ -628,6 +665,7 @@ add_fp_unittest(
628
665
RoundToIntegerTest.h
629
666
DEPENDS
630
667
libc.src.math.lrintf
668
+ libc.src.__support.CPP.algorithm
631
669
libc.src.__support.FPUtil.fenv_impl
632
670
libc.src.__support.FPUtil.fp_bits
633
671
)
@@ -643,6 +681,23 @@ add_fp_unittest(
643
681
RoundToIntegerTest.h
644
682
DEPENDS
645
683
libc.src.math.lrintl
684
+ libc.src.__support.CPP.algorithm
685
+ libc.src.__support.FPUtil.fenv_impl
686
+ libc.src.__support.FPUtil.fp_bits
687
+ )
688
+
689
+ add_fp_unittest (
690
+ lrintf16_test
691
+ NEED_MPFR
692
+ SUITE
693
+ libc-math-unittests
694
+ SRCS
695
+ lrintf16_test.cpp
696
+ HDRS
697
+ RoundToIntegerTest.h
698
+ DEPENDS
699
+ libc.src.math.lrintf16
700
+ libc.src.__support.CPP.algorithm
646
701
libc.src.__support.FPUtil.fenv_impl
647
702
libc.src.__support.FPUtil.fp_bits
648
703
)
@@ -658,6 +713,7 @@ add_fp_unittest(
658
713
RoundToIntegerTest.h
659
714
DEPENDS
660
715
libc.src.math.llrint
716
+ libc.src.__support.CPP.algorithm
661
717
libc.src.__support.FPUtil.fenv_impl
662
718
libc.src.__support.FPUtil.fp_bits
663
719
)
@@ -673,6 +729,7 @@ add_fp_unittest(
673
729
RoundToIntegerTest.h
674
730
DEPENDS
675
731
libc.src.math.llrintf
732
+ libc.src.__support.CPP.algorithm
676
733
libc.src.__support.FPUtil.fenv_impl
677
734
libc.src.__support.FPUtil.fp_bits
678
735
)
@@ -688,6 +745,23 @@ add_fp_unittest(
688
745
RoundToIntegerTest.h
689
746
DEPENDS
690
747
libc.src.math.llrintl
748
+ libc.src.__support.CPP.algorithm
749
+ libc.src.__support.FPUtil.fenv_impl
750
+ libc.src.__support.FPUtil.fp_bits
751
+ )
752
+
753
+ add_fp_unittest (
754
+ llrintf16_test
755
+ NEED_MPFR
756
+ SUITE
757
+ libc-math-unittests
758
+ SRCS
759
+ llrintf16_test.cpp
760
+ HDRS
761
+ RoundToIntegerTest.h
762
+ DEPENDS
763
+ libc.src.math.llrintf16
764
+ libc.src.__support.CPP.algorithm
691
765
libc.src.__support.FPUtil.fenv_impl
692
766
libc.src.__support.FPUtil.fp_bits
693
767
)
0 commit comments