@@ -350,11 +350,11 @@ add_fp_unittest(
350
350
HDRS
351
351
RoundToIntegerTest.h
352
352
DEPENDS
353
+ libc.hdr.fenv_macros
353
354
libc.src.errno.errno
354
- libc.src.fenv.feclearexcept
355
- libc.src.fenv.feraiseexcept
356
- libc.src.fenv.fetestexcept
357
355
libc.src.math.lround
356
+ libc.src.__support.CPP.algorithm
357
+ libc.src.__support.FPUtil.fenv_impl
358
358
libc.src.__support.FPUtil.fp_bits
359
359
)
360
360
@@ -368,11 +368,11 @@ add_fp_unittest(
368
368
HDRS
369
369
RoundToIntegerTest.h
370
370
DEPENDS
371
+ libc.hdr.fenv_macros
371
372
libc.src.errno.errno
372
- libc.src.fenv.feclearexcept
373
- libc.src.fenv.feraiseexcept
374
- libc.src.fenv.fetestexcept
375
373
libc.src.math.lroundf
374
+ libc.src.__support.CPP.algorithm
375
+ libc.src.__support.FPUtil.fenv_impl
376
376
libc.src.__support.FPUtil.fp_bits
377
377
)
378
378
@@ -386,11 +386,29 @@ add_fp_unittest(
386
386
HDRS
387
387
RoundToIntegerTest.h
388
388
DEPENDS
389
+ libc.hdr.fenv_macros
389
390
libc.src.errno.errno
390
- libc.src.fenv.feclearexcept
391
- libc.src.fenv.feraiseexcept
392
- libc.src.fenv.fetestexcept
393
391
libc.src.math.lroundl
392
+ libc.src.__support.CPP.algorithm
393
+ libc.src.__support.FPUtil.fenv_impl
394
+ libc.src.__support.FPUtil.fp_bits
395
+ )
396
+
397
+ add_fp_unittest (
398
+ lroundf16_test
399
+ NEED_MPFR
400
+ SUITE
401
+ libc-math-unittests
402
+ SRCS
403
+ lroundf16_test.cpp
404
+ HDRS
405
+ RoundToIntegerTest.h
406
+ DEPENDS
407
+ libc.hdr.fenv_macros
408
+ libc.src.errno.errno
409
+ libc.src.math.lroundf16
410
+ libc.src.__support.CPP.algorithm
411
+ libc.src.__support.FPUtil.fenv_impl
394
412
libc.src.__support.FPUtil.fp_bits
395
413
)
396
414
@@ -404,11 +422,11 @@ add_fp_unittest(
404
422
HDRS
405
423
RoundToIntegerTest.h
406
424
DEPENDS
425
+ libc.hdr.fenv_macros
407
426
libc.src.errno.errno
408
- libc.src.fenv.feclearexcept
409
- libc.src.fenv.feraiseexcept
410
- libc.src.fenv.fetestexcept
411
427
libc.src.math.llround
428
+ libc.src.__support.CPP.algorithm
429
+ libc.src.__support.FPUtil.fenv_impl
412
430
libc.src.__support.FPUtil.fp_bits
413
431
)
414
432
@@ -422,11 +440,11 @@ add_fp_unittest(
422
440
HDRS
423
441
RoundToIntegerTest.h
424
442
DEPENDS
443
+ libc.hdr.fenv_macros
425
444
libc.src.errno.errno
426
- libc.src.fenv.feclearexcept
427
- libc.src.fenv.feraiseexcept
428
- libc.src.fenv.fetestexcept
429
445
libc.src.math.llroundf
446
+ libc.src.__support.CPP.algorithm
447
+ libc.src.__support.FPUtil.fenv_impl
430
448
libc.src.__support.FPUtil.fp_bits
431
449
)
432
450
@@ -440,11 +458,29 @@ add_fp_unittest(
440
458
HDRS
441
459
RoundToIntegerTest.h
442
460
DEPENDS
461
+ libc.hdr.fenv_macros
443
462
libc.src.errno.errno
444
- libc.src.fenv.feclearexcept
445
- libc.src.fenv.feraiseexcept
446
- libc.src.fenv.fetestexcept
447
463
libc.src.math.llroundl
464
+ libc.src.__support.CPP.algorithm
465
+ libc.src.__support.FPUtil.fenv_impl
466
+ libc.src.__support.FPUtil.fp_bits
467
+ )
468
+
469
+ add_fp_unittest (
470
+ llroundf16_test
471
+ NEED_MPFR
472
+ SUITE
473
+ libc-math-unittests
474
+ SRCS
475
+ llroundf16_test.cpp
476
+ HDRS
477
+ RoundToIntegerTest.h
478
+ DEPENDS
479
+ libc.hdr.fenv_macros
480
+ libc.src.errno.errno
481
+ libc.src.math.llroundf16
482
+ libc.src.__support.CPP.algorithm
483
+ libc.src.__support.FPUtil.fenv_impl
448
484
libc.src.__support.FPUtil.fp_bits
449
485
)
450
486
@@ -458,7 +494,9 @@ add_fp_unittest(
458
494
HDRS
459
495
RIntTest.h
460
496
DEPENDS
497
+ libc.hdr.fenv_macros
461
498
libc.src.math.rint
499
+ libc.src.__support.CPP.algorithm
462
500
libc.src.__support.FPUtil.fenv_impl
463
501
libc.src.__support.FPUtil.fp_bits
464
502
)
@@ -473,7 +511,9 @@ add_fp_unittest(
473
511
HDRS
474
512
RIntTest.h
475
513
DEPENDS
514
+ libc.hdr.fenv_macros
476
515
libc.src.math.rintf
516
+ libc.src.__support.CPP.algorithm
477
517
libc.src.__support.FPUtil.fenv_impl
478
518
libc.src.__support.FPUtil.fp_bits
479
519
)
@@ -488,7 +528,26 @@ add_fp_unittest(
488
528
HDRS
489
529
RIntTest.h
490
530
DEPENDS
531
+ libc.hdr.fenv_macros
491
532
libc.src.math.rintl
533
+ libc.src.__support.CPP.algorithm
534
+ libc.src.__support.FPUtil.fenv_impl
535
+ libc.src.__support.FPUtil.fp_bits
536
+ )
537
+
538
+ add_fp_unittest (
539
+ rintf16_test
540
+ NEED_MPFR
541
+ SUITE
542
+ libc-math-unittests
543
+ SRCS
544
+ rintf16_test.cpp
545
+ HDRS
546
+ RIntTest.h
547
+ DEPENDS
548
+ libc.hdr.fenv_macros
549
+ libc.src.math.rintf16
550
+ libc.src.__support.CPP.algorithm
492
551
libc.src.__support.FPUtil.fenv_impl
493
552
libc.src.__support.FPUtil.fp_bits
494
553
)
@@ -504,6 +563,7 @@ add_fp_unittest(
504
563
RoundToIntegerTest.h
505
564
DEPENDS
506
565
libc.src.math.lrint
566
+ libc.src.__support.CPP.algorithm
507
567
libc.src.__support.FPUtil.fenv_impl
508
568
libc.src.__support.FPUtil.fp_bits
509
569
)
@@ -519,6 +579,7 @@ add_fp_unittest(
519
579
RoundToIntegerTest.h
520
580
DEPENDS
521
581
libc.src.math.lrintf
582
+ libc.src.__support.CPP.algorithm
522
583
libc.src.__support.FPUtil.fenv_impl
523
584
libc.src.__support.FPUtil.fp_bits
524
585
)
@@ -534,6 +595,23 @@ add_fp_unittest(
534
595
RoundToIntegerTest.h
535
596
DEPENDS
536
597
libc.src.math.lrintl
598
+ libc.src.__support.CPP.algorithm
599
+ libc.src.__support.FPUtil.fenv_impl
600
+ libc.src.__support.FPUtil.fp_bits
601
+ )
602
+
603
+ add_fp_unittest (
604
+ lrintf16_test
605
+ NEED_MPFR
606
+ SUITE
607
+ libc-math-unittests
608
+ SRCS
609
+ lrintf16_test.cpp
610
+ HDRS
611
+ RoundToIntegerTest.h
612
+ DEPENDS
613
+ libc.src.math.lrintf16
614
+ libc.src.__support.CPP.algorithm
537
615
libc.src.__support.FPUtil.fenv_impl
538
616
libc.src.__support.FPUtil.fp_bits
539
617
)
@@ -549,6 +627,7 @@ add_fp_unittest(
549
627
RoundToIntegerTest.h
550
628
DEPENDS
551
629
libc.src.math.llrint
630
+ libc.src.__support.CPP.algorithm
552
631
libc.src.__support.FPUtil.fenv_impl
553
632
libc.src.__support.FPUtil.fp_bits
554
633
)
@@ -564,6 +643,7 @@ add_fp_unittest(
564
643
RoundToIntegerTest.h
565
644
DEPENDS
566
645
libc.src.math.llrintf
646
+ libc.src.__support.CPP.algorithm
567
647
libc.src.__support.FPUtil.fenv_impl
568
648
libc.src.__support.FPUtil.fp_bits
569
649
)
@@ -579,6 +659,23 @@ add_fp_unittest(
579
659
RoundToIntegerTest.h
580
660
DEPENDS
581
661
libc.src.math.llrintl
662
+ libc.src.__support.CPP.algorithm
663
+ libc.src.__support.FPUtil.fenv_impl
664
+ libc.src.__support.FPUtil.fp_bits
665
+ )
666
+
667
+ add_fp_unittest (
668
+ llrintf16_test
669
+ NEED_MPFR
670
+ SUITE
671
+ libc-math-unittests
672
+ SRCS
673
+ llrintf16_test.cpp
674
+ HDRS
675
+ RoundToIntegerTest.h
676
+ DEPENDS
677
+ libc.src.math.llrintf16
678
+ libc.src.__support.CPP.algorithm
582
679
libc.src.__support.FPUtil.fenv_impl
583
680
libc.src.__support.FPUtil.fp_bits
584
681
)
0 commit comments