Debian Codegraph @

utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel

raw
1 # This file is licensed under the Apache License v2.0 with LLVM Exceptions.
2 # See https://llvm.org/LICENSE.txt for license information.
3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5 # Smoke tests for LLVM libc math.h functions.
6
7 load("//libc/test/src/math:libc_math_test_rules.bzl", "math_test")
8
9 package(default_visibility = ["//visibility:public"])
10
11 licenses(["notice"])
12
13 math_test(name = "acosf")
14
15 math_test(name = "acoshf")
16
17 math_test(name = "acosf16")
18
19 math_test(name = "asinf")
20
21 math_test(name = "asinf16")
22
23 math_test(name = "asinhf")
24
25 math_test(name = "atan2")
26
27 math_test(name = "atan2f")
28
29 math_test(name = "atan")
30
31 math_test(name = "atanf")
32
33 math_test(name = "atanhf")
34
35 math_test(
36 name = "canonicalize",
37 hdrs = ["CanonicalizeTest.h"],
38 deps = [
39 "//libc:__support_integer_literals",
40 ],
41 )
42
43 math_test(
44 name = "canonicalizef",
45 hdrs = ["CanonicalizeTest.h"],
46 deps = [
47 "//libc:__support_integer_literals",
48 ],
49 )
50
51 math_test(
52 name = "canonicalizel",
53 hdrs = ["CanonicalizeTest.h"],
54 deps = [
55 "//libc:__support_integer_literals",
56 ],
57 )
58
59 math_test(
60 name = "canonicalizef128",
61 hdrs = ["CanonicalizeTest.h"],
62 deps = [
63 "//libc:__support_integer_literals",
64 ],
65 )
66
67 math_test(
68 name = "canonicalizef16",
69 hdrs = ["CanonicalizeTest.h"],
70 deps = [
71 "//libc:__support_integer_literals",
72 ],
73 )
74
75 math_test(
76 name = "iscanonicalf16",
77 hdrs = ["IsCanonicalTest.h"],
78 )
79
80 math_test(name = "cbrt")
81
82 math_test(name = "cbrtf")
83
84 math_test(
85 name = "ceil",
86 hdrs = ["CeilTest.h"],
87 )
88
89 math_test(
90 name = "ceilf",
91 hdrs = ["CeilTest.h"],
92 )
93
94 math_test(
95 name = "ceill",
96 hdrs = ["CeilTest.h"],
97 )
98
99 math_test(
100 name = "ceilf128",
101 hdrs = ["CeilTest.h"],
102 )
103
104 math_test(
105 name = "ceilf16",
106 hdrs = ["CeilTest.h"],
107 )
108
109 math_test(
110 name = "copysign",
111 hdrs = ["CopySignTest.h"],
112 )
113
114 math_test(
115 name = "copysignf",
116 hdrs = ["CopySignTest.h"],
117 )
118
119 math_test(
120 name = "copysignl",
121 hdrs = ["CopySignTest.h"],
122 )
123
124 math_test(
125 name = "copysignf128",
126 hdrs = ["CopySignTest.h"],
127 )
128
129 math_test(
130 name = "copysignf16",
131 hdrs = ["CopySignTest.h"],
132 )
133
134 math_test(name = "cos")
135
136 math_test(name = "cosf")
137
138 math_test(
139 name = "coshf",
140 deps = [
141 "//libc:__support_cpp_array",
142 ],
143 )
144
145 math_test(name = "cospif")
146
147 math_test(
148 name = "daddl",
149 hdrs = ["AddTest.h"],
150 )
151
152 math_test(
153 name = "daddf128",
154 hdrs = ["AddTest.h"],
155 )
156
157 math_test(
158 name = "f16add",
159 hdrs = ["AddTest.h"],
160 )
161
162 math_test(
163 name = "f16addf",
164 hdrs = ["AddTest.h"],
165 )
166
167 math_test(
168 name = "f16addl",
169 hdrs = ["AddTest.h"],
170 )
171
172 math_test(
173 name = "ddivl",
174 hdrs = ["DivTest.h"],
175 )
176
177 math_test(
178 name = "ddivf128",
179 hdrs = ["DivTest.h"],
180 )
181
182 math_test(
183 name = "f16div",
184 hdrs = ["DivTest.h"],
185 )
186
187 math_test(
188 name = "f16divf",
189 hdrs = ["DivTest.h"],
190 )
191
192 math_test(
193 name = "f16divl",
194 hdrs = ["DivTest.h"],
195 )
196
197 math_test(
198 name = "dfmal",
199 hdrs = ["FmaTest.h"],
200 )
201
202 math_test(
203 name = "dfmaf128",
204 hdrs = ["FmaTest.h"],
205 )
206
207 math_test(
208 name = "f16fma",
209 hdrs = ["FmaTest.h"],
210 )
211
212 math_test(
213 name = "f16fmaf",
214 hdrs = ["FmaTest.h"],
215 )
216
217 math_test(
218 name = "f16fmal",
219 hdrs = ["FmaTest.h"],
220 )
221
222 math_test(
223 name = "dmull",
224 hdrs = ["MulTest.h"],
225 )
226
227 math_test(
228 name = "dmulf128",
229 hdrs = ["MulTest.h"],
230 )
231
232 math_test(
233 name = "f16mul",
234 hdrs = ["MulTest.h"],
235 )
236
237 math_test(
238 name = "f16mulf",
239 hdrs = ["MulTest.h"],
240 )
241
242 math_test(
243 name = "f16mull",
244 hdrs = ["MulTest.h"],
245 )
246
247 math_test(
248 name = "fsqrt",
249 hdrs = ["SqrtTest.h"],
250 )
251
252 math_test(
253 name = "fsqrtl",
254 hdrs = ["SqrtTest.h"],
255 )
256
257 math_test(
258 name = "fsqrtf128",
259 hdrs = ["SqrtTest.h"],
260 )
261
262 math_test(
263 name = "dsqrtl",
264 hdrs = ["SqrtTest.h"],
265 )
266
267 math_test(
268 name = "dsqrtf128",
269 hdrs = ["SqrtTest.h"],
270 )
271
272 math_test(
273 name = "sqrt",
274 hdrs = ["SqrtTest.h"],
275 )
276
277 math_test(
278 name = "sqrtf",
279 hdrs = ["SqrtTest.h"],
280 )
281
282 math_test(
283 name = "sqrtl",
284 hdrs = ["SqrtTest.h"],
285 )
286
287 math_test(
288 name = "sqrtf128",
289 hdrs = ["SqrtTest.h"],
290 )
291
292 math_test(
293 name = "f16sqrt",
294 hdrs = ["SqrtTest.h"],
295 )
296
297 math_test(
298 name = "f16sqrtf",
299 hdrs = ["SqrtTest.h"],
300 )
301
302 math_test(
303 name = "sqrtf16",
304 hdrs = ["SqrtTest.h"],
305 )
306
307 math_test(
308 name = "f16sqrtl",
309 hdrs = ["SqrtTest.h"],
310 )
311
312 math_test(
313 name = "dsubl",
314 hdrs = ["SubTest.h"],
315 )
316
317 math_test(
318 name = "dsubf128",
319 hdrs = ["SubTest.h"],
320 )
321
322 math_test(
323 name = "f16sub",
324 hdrs = ["SubTest.h"],
325 )
326
327 math_test(
328 name = "f16subf",
329 hdrs = ["SubTest.h"],
330 )
331
332 math_test(
333 name = "f16subl",
334 hdrs = ["SubTest.h"],
335 )
336
337 math_test(name = "erff")
338
339 math_test(name = "exp")
340
341 math_test(name = "expf")
342
343 math_test(name = "exp10")
344
345 math_test(name = "exp10f")
346
347 math_test(name = "exp2")
348
349 math_test(name = "exp2f")
350
351 math_test(name = "exp2m1f")
352
353 math_test(name = "expm1")
354
355 math_test(name = "expm1f")
356
357 math_test(
358 name = "fabs",
359 hdrs = ["FAbsTest.h"],
360 )
361
362 math_test(
363 name = "fabsf",
364 hdrs = ["FAbsTest.h"],
365 )
366
367 math_test(
368 name = "fabsl",
369 hdrs = ["FAbsTest.h"],
370 )
371
372 math_test(
373 name = "fabsf128",
374 hdrs = ["FAbsTest.h"],
375 )
376
377 math_test(
378 name = "fabsf16",
379 hdrs = ["FAbsTest.h"],
380 )
381
382 math_test(
383 name = "fadd",
384 hdrs = ["AddTest.h"],
385 )
386
387 math_test(
388 name = "faddl",
389 hdrs = ["AddTest.h"],
390 )
391
392 math_test(
393 name = "faddf128",
394 hdrs = ["AddTest.h"],
395 )
396
397 math_test(
398 name = "fdim",
399 hdrs = ["FDimTest.h"],
400 )
401
402 math_test(
403 name = "fdimf",
404 hdrs = ["FDimTest.h"],
405 )
406
407 math_test(
408 name = "fdiml",
409 hdrs = ["FDimTest.h"],
410 )
411
412 math_test(
413 name = "fdimf128",
414 hdrs = ["FDimTest.h"],
415 )
416
417 math_test(
418 name = "fdimf16",
419 hdrs = ["FDimTest.h"],
420 )
421
422 math_test(
423 name = "fdiv",
424 hdrs = ["DivTest.h"],
425 )
426
427 math_test(
428 name = "fdivl",
429 hdrs = ["DivTest.h"],
430 )
431
432 math_test(
433 name = "fdivf128",
434 hdrs = ["DivTest.h"],
435 )
436
437 math_test(
438 name = "ffma",
439 hdrs = ["FmaTest.h"],
440 )
441
442 math_test(
443 name = "ffmal",
444 hdrs = ["FmaTest.h"],
445 )
446
447 math_test(
448 name = "ffmaf128",
449 hdrs = ["FmaTest.h"],
450 )
451
452 math_test(
453 name = "floor",
454 hdrs = ["FloorTest.h"],
455 )
456
457 math_test(
458 name = "floorf",
459 hdrs = ["FloorTest.h"],
460 )
461
462 math_test(
463 name = "floorl",
464 hdrs = ["FloorTest.h"],
465 )
466
467 math_test(
468 name = "floorf128",
469 hdrs = ["FloorTest.h"],
470 )
471
472 math_test(
473 name = "floorf16",
474 hdrs = ["FloorTest.h"],
475 )
476
477 math_test(
478 name = "fma",
479 hdrs = ["FmaTest.h"],
480 )
481
482 math_test(
483 name = "fmaf",
484 hdrs = ["FmaTest.h"],
485 )
486
487 math_test(
488 name = "fmaf16",
489 hdrs = ["FmaTest.h"],
490 )
491
492 math_test(
493 name = "fmax",
494 hdrs = ["FMaxTest.h"],
495 )
496
497 math_test(
498 name = "fmaxf",
499 hdrs = ["FMaxTest.h"],
500 )
501
502 math_test(
503 name = "fmaxl",
504 hdrs = ["FMaxTest.h"],
505 )
506
507 math_test(
508 name = "fmaxf128",
509 hdrs = ["FMaxTest.h"],
510 )
511
512 math_test(
513 name = "fmaxf16",
514 hdrs = ["FMaxTest.h"],
515 )
516
517 math_test(
518 name = "fmaximum",
519 hdrs = ["FMaximumTest.h"],
520 )
521
522 math_test(
523 name = "fmaximumf",
524 hdrs = ["FMaximumTest.h"],
525 )
526
527 math_test(
528 name = "fmaximuml",
529 hdrs = ["FMaximumTest.h"],
530 )
531
532 math_test(
533 name = "fmaximumf128",
534 hdrs = ["FMaximumTest.h"],
535 )
536
537 math_test(
538 name = "fmaximum_mag",
539 hdrs = ["FMaximumMagTest.h"],
540 )
541
542 math_test(
543 name = "fmaximum_magf",
544 hdrs = ["FMaximumMagTest.h"],
545 )
546
547 math_test(
548 name = "fmaximum_magl",
549 hdrs = ["FMaximumMagTest.h"],
550 )
551
552 math_test(
553 name = "fmaximum_magf128",
554 hdrs = ["FMaximumMagTest.h"],
555 )
556
557 math_test(
558 name = "fmaximum_mag_num",
559 hdrs = ["FMaximumMagNumTest.h"],
560 )
561
562 math_test(
563 name = "fmaximum_mag_numf",
564 hdrs = ["FMaximumMagNumTest.h"],
565 )
566
567 math_test(
568 name = "fmaximum_mag_numl",
569 hdrs = ["FMaximumMagNumTest.h"],
570 )
571
572 math_test(
573 name = "fmaximum_mag_numf128",
574 hdrs = ["FMaximumMagNumTest.h"],
575 )
576
577 math_test(
578 name = "fmaximum_num",
579 hdrs = ["FMaximumNumTest.h"],
580 )
581
582 math_test(
583 name = "fmaximum_numf",
584 hdrs = ["FMaximumNumTest.h"],
585 )
586
587 math_test(
588 name = "fmaximum_numl",
589 hdrs = ["FMaximumNumTest.h"],
590 )
591
592 math_test(
593 name = "fmaximum_numf128",
594 hdrs = ["FMaximumNumTest.h"],
595 )
596
597 math_test(
598 name = "fmaximum_mag_numf16",
599 hdrs = ["FMaximumMagNumTest.h"],
600 )
601
602 math_test(
603 name = "fmaximum_magf16",
604 hdrs = ["FMaximumMagTest.h"],
605 )
606
607 math_test(
608 name = "fmaximum_numf16",
609 hdrs = ["FMaximumNumTest.h"],
610 )
611
612 math_test(
613 name = "fmaximumf16",
614 hdrs = ["FMaximumTest.h"],
615 )
616
617 math_test(
618 name = "fmin",
619 hdrs = ["FMinTest.h"],
620 )
621
622 math_test(
623 name = "fminf",
624 hdrs = ["FMinTest.h"],
625 )
626
627 math_test(
628 name = "fminl",
629 hdrs = ["FMinTest.h"],
630 )
631
632 math_test(
633 name = "fminf128",
634 hdrs = ["FMinTest.h"],
635 )
636
637 math_test(
638 name = "fminf16",
639 hdrs = ["FMinTest.h"],
640 )
641
642 math_test(
643 name = "fminimum",
644 hdrs = ["FMinimumTest.h"],
645 )
646
647 math_test(
648 name = "fminimumf",
649 hdrs = ["FMinimumTest.h"],
650 )
651
652 math_test(
653 name = "fminimuml",
654 hdrs = ["FMinimumTest.h"],
655 )
656
657 math_test(
658 name = "fminimumf128",
659 hdrs = ["FMinimumTest.h"],
660 )
661
662 math_test(
663 name = "fminimum_mag",
664 hdrs = ["FMinimumMagTest.h"],
665 )
666
667 math_test(
668 name = "fminimum_magf",
669 hdrs = ["FMinimumMagTest.h"],
670 )
671
672 math_test(
673 name = "fminimum_magl",
674 hdrs = ["FMinimumMagTest.h"],
675 )
676
677 math_test(
678 name = "fminimum_magf128",
679 hdrs = ["FMinimumMagTest.h"],
680 )
681
682 math_test(
683 name = "fminimum_magf16",
684 hdrs = ["FMinimumMagTest.h"],
685 )
686
687 math_test(
688 name = "fminimum_mag_num",
689 hdrs = ["FMinimumMagNumTest.h"],
690 )
691
692 math_test(
693 name = "fminimum_mag_numf",
694 hdrs = ["FMinimumMagNumTest.h"],
695 )
696
697 math_test(
698 name = "fminimum_mag_numl",
699 hdrs = ["FMinimumMagNumTest.h"],
700 )
701
702 math_test(
703 name = "fminimum_mag_numf128",
704 hdrs = ["FMinimumMagNumTest.h"],
705 )
706
707 math_test(
708 name = "fminimum_mag_numf16",
709 hdrs = ["FMinimumMagNumTest.h"],
710 )
711
712 math_test(
713 name = "fminimum_num",
714 hdrs = ["FMinimumNumTest.h"],
715 )
716
717 math_test(
718 name = "fminimum_numf",
719 hdrs = ["FMinimumNumTest.h"],
720 )
721
722 math_test(
723 name = "fminimum_numl",
724 hdrs = ["FMinimumNumTest.h"],
725 )
726
727 math_test(
728 name = "fminimum_numf128",
729 hdrs = ["FMinimumNumTest.h"],
730 )
731
732 math_test(
733 name = "fminimum_numf16",
734 hdrs = ["FMinimumNumTest.h"],
735 )
736
737 math_test(
738 name = "fminimumf16",
739 hdrs = ["FMinimumTest.h"],
740 )
741
742 math_test(
743 name = "fmod",
744 hdrs = ["FModTest.h"],
745 )
746
747 math_test(
748 name = "fmodbf16",
749 hdrs = [
750 "FModTest.h",
751 ],
752 deps = [
753 "//libc:__support_fputil_bfloat16",
754 ],
755 )
756
757 math_test(
758 name = "fmodf",
759 hdrs = ["FModTest.h"],
760 )
761
762 math_test(
763 name = "fmodl",
764 hdrs = ["FModTest.h"],
765 )
766
767 math_test(
768 name = "fmodf128",
769 hdrs = ["FModTest.h"],
770 )
771
772 math_test(
773 name = "fmodf16",
774 hdrs = ["FModTest.h"],
775 )
776
777 math_test(
778 name = "fmul",
779 hdrs = ["MulTest.h"],
780 )
781
782 math_test(
783 name = "fmull",
784 hdrs = ["MulTest.h"],
785 )
786
787 math_test(
788 name = "fmulf128",
789 hdrs = ["MulTest.h"],
790 )
791
792 math_test(
793 name = "frexp",
794 hdrs = ["FrexpTest.h"],
795 )
796
797 math_test(
798 name = "frexpf",
799 hdrs = ["FrexpTest.h"],
800 )
801
802 math_test(
803 name = "frexpl",
804 hdrs = ["FrexpTest.h"],
805 )
806
807 math_test(
808 name = "frexpf128",
809 hdrs = ["FrexpTest.h"],
810 )
811
812 math_test(
813 name = "frexpf16",
814 hdrs = ["FrexpTest.h"],
815 )
816
817 math_test(
818 name = "fromfp",
819 hdrs = ["FromfpTest.h"],
820 )
821
822 math_test(
823 name = "fromfpf",
824 hdrs = ["FromfpTest.h"],
825 )
826
827 math_test(
828 name = "fromfpl",
829 hdrs = ["FromfpTest.h"],
830 )
831
832 math_test(
833 name = "fromfpf128",
834 hdrs = ["FromfpTest.h"],
835 )
836
837 math_test(
838 name = "fromfpf16",
839 hdrs = ["FromfpTest.h"],
840 )
841
842 math_test(
843 name = "fromfpx",
844 hdrs = ["FromfpxTest.h"],
845 )
846
847 math_test(
848 name = "fromfpxf",
849 hdrs = ["FromfpxTest.h"],
850 )
851
852 math_test(
853 name = "fromfpxl",
854 hdrs = ["FromfpxTest.h"],
855 )
856
857 math_test(
858 name = "fromfpxf128",
859 hdrs = ["FromfpxTest.h"],
860 )
861
862 math_test(
863 name = "fromfpxf16",
864 hdrs = ["FromfpxTest.h"],
865 )
866
867 math_test(
868 name = "fsub",
869 hdrs = ["SubTest.h"],
870 )
871
872 math_test(
873 name = "fsubl",
874 hdrs = ["SubTest.h"],
875 )
876
877 math_test(
878 name = "fsubf128",
879 hdrs = ["SubTest.h"],
880 )
881
882 math_test(
883 name = "getpayload",
884 hdrs = ["GetPayloadTest.h"],
885 )
886
887 math_test(
888 name = "getpayloadf",
889 hdrs = ["GetPayloadTest.h"],
890 )
891
892 math_test(
893 name = "getpayloadl",
894 hdrs = ["GetPayloadTest.h"],
895 )
896
897 math_test(
898 name = "getpayloadf128",
899 hdrs = ["GetPayloadTest.h"],
900 )
901
902 math_test(
903 name = "getpayloadf16",
904 hdrs = ["GetPayloadTest.h"],
905 )
906
907 math_test(
908 name = "hypot",
909 hdrs = ["HypotTest.h"],
910 )
911
912 math_test(
913 name = "hypotf",
914 hdrs = ["HypotTest.h"],
915 )
916
917 math_test(
918 name = "hypotf16",
919 hdrs = ["HypotTest.h"],
920 )
921
922 math_test(
923 name = "ilogb",
924 hdrs = ["ILogbTest.h"],
925 )
926
927 math_test(
928 name = "ilogbf",
929 hdrs = ["ILogbTest.h"],
930 )
931
932 math_test(
933 name = "ilogbl",
934 hdrs = ["ILogbTest.h"],
935 )
936
937 math_test(
938 name = "ilogbf128",
939 hdrs = ["ILogbTest.h"],
940 )
941
942 math_test(
943 name = "ldexp",
944 hdrs = ["LdExpTest.h"],
945 )
946
947 math_test(
948 name = "ldexpf",
949 hdrs = ["LdExpTest.h"],
950 )
951
952 math_test(
953 name = "ldexpl",
954 hdrs = ["LdExpTest.h"],
955 )
956
957 math_test(
958 name = "ldexpf128",
959 hdrs = ["LdExpTest.h"],
960 )
961
962 math_test(
963 name = "ldexpf16",
964 hdrs = ["LdExpTest.h"],
965 )
966
967 math_test(
968 name = "llogb",
969 hdrs = ["ILogbTest.h"],
970 )
971
972 math_test(
973 name = "llogbf",
974 hdrs = ["ILogbTest.h"],
975 )
976
977 math_test(
978 name = "llogbl",
979 hdrs = ["ILogbTest.h"],
980 )
981
982 math_test(
983 name = "llogbf128",
984 hdrs = ["ILogbTest.h"],
985 )
986
987 math_test(
988 name = "ilogbf16",
989 hdrs = ["ILogbTest.h"],
990 )
991
992 math_test(
993 name = "llogbf16",
994 hdrs = ["ILogbTest.h"],
995 )
996
997 math_test(
998 name = "llrint",
999 hdrs = ["RoundToIntegerTest.h"],
1000 )
1001
1002 math_test(
1003 name = "llrintf",
1004 hdrs = ["RoundToIntegerTest.h"],
1005 )
1006
1007 math_test(
1008 name = "llrintl",
1009 hdrs = ["RoundToIntegerTest.h"],
1010 )
1011
1012 math_test(
1013 name = "llrintf128",
1014 hdrs = ["RoundToIntegerTest.h"],
1015 )
1016
1017 math_test(
1018 name = "llrintf16",
1019 hdrs = ["RoundToIntegerTest.h"],
1020 )
1021
1022 math_test(
1023 name = "lrintf16",
1024 hdrs = ["RoundToIntegerTest.h"],
1025 )
1026
1027 math_test(
1028 name = "llround",
1029 hdrs = ["RoundToIntegerTest.h"],
1030 )
1031
1032 math_test(
1033 name = "llroundf",
1034 hdrs = ["RoundToIntegerTest.h"],
1035 )
1036
1037 math_test(
1038 name = "llroundl",
1039 hdrs = ["RoundToIntegerTest.h"],
1040 )
1041
1042 math_test(
1043 name = "llroundf128",
1044 hdrs = ["RoundToIntegerTest.h"],
1045 )
1046
1047 math_test(
1048 name = "llroundf16",
1049 hdrs = ["RoundToIntegerTest.h"],
1050 )
1051
1052 math_test(
1053 name = "lroundf16",
1054 hdrs = ["RoundToIntegerTest.h"],
1055 )
1056
1057 math_test(name = "log")
1058
1059 math_test(name = "logf")
1060
1061 math_test(name = "log10")
1062
1063 math_test(name = "log10f")
1064
1065 math_test(name = "log1p")
1066
1067 math_test(name = "log1pf")
1068
1069 math_test(name = "log2")
1070
1071 math_test(name = "log2f")
1072
1073 math_test(
1074 name = "logb",
1075 hdrs = ["LogbTest.h"],
1076 )
1077
1078 math_test(
1079 name = "logbf",
1080 hdrs = ["LogbTest.h"],
1081 )
1082
1083 math_test(
1084 name = "logbl",
1085 hdrs = ["LogbTest.h"],
1086 )
1087
1088 math_test(
1089 name = "logbf128",
1090 hdrs = ["LogbTest.h"],
1091 )
1092
1093 math_test(
1094 name = "logbf16",
1095 hdrs = ["LogbTest.h"],
1096 )
1097
1098 math_test(
1099 name = "lrint",
1100 hdrs = ["RoundToIntegerTest.h"],
1101 )
1102
1103 math_test(
1104 name = "lrintf",
1105 hdrs = ["RoundToIntegerTest.h"],
1106 )
1107
1108 math_test(
1109 name = "lrintl",
1110 hdrs = ["RoundToIntegerTest.h"],
1111 )
1112
1113 math_test(
1114 name = "lrintf128",
1115 hdrs = ["RoundToIntegerTest.h"],
1116 )
1117
1118 math_test(
1119 name = "lround",
1120 hdrs = ["RoundToIntegerTest.h"],
1121 )
1122
1123 math_test(
1124 name = "lroundf",
1125 hdrs = ["RoundToIntegerTest.h"],
1126 )
1127
1128 math_test(
1129 name = "lroundl",
1130 hdrs = ["RoundToIntegerTest.h"],
1131 )
1132
1133 math_test(
1134 name = "lroundf128",
1135 hdrs = ["RoundToIntegerTest.h"],
1136 )
1137
1138 math_test(
1139 name = "modf",
1140 hdrs = ["ModfTest.h"],
1141 )
1142
1143 math_test(
1144 name = "modff",
1145 hdrs = ["ModfTest.h"],
1146 )
1147
1148 math_test(
1149 name = "modfl",
1150 hdrs = ["ModfTest.h"],
1151 )
1152
1153 math_test(
1154 name = "modff128",
1155 hdrs = ["ModfTest.h"],
1156 )
1157
1158 math_test(
1159 name = "modff16",
1160 hdrs = ["ModfTest.h"],
1161 )
1162
1163 # TODO: add nan tests.
1164
1165 math_test(
1166 name = "nearbyint",
1167 hdrs = ["NearbyIntTest.h"],
1168 )
1169
1170 math_test(
1171 name = "nearbyintf",
1172 hdrs = ["NearbyIntTest.h"],
1173 )
1174
1175 math_test(
1176 name = "nearbyintl",
1177 hdrs = ["NearbyIntTest.h"],
1178 )
1179
1180 math_test(
1181 name = "nearbyintf128",
1182 hdrs = ["NearbyIntTest.h"],
1183 )
1184
1185 math_test(
1186 name = "nearbyintf16",
1187 hdrs = ["NearbyIntTest.h"],
1188 )
1189
1190 math_test(
1191 name = "nextafter",
1192 hdrs = ["NextAfterTest.h"],
1193 deps = ["//libc:__support_sign"],
1194 )
1195
1196 math_test(
1197 name = "nextafterf",
1198 hdrs = ["NextAfterTest.h"],
1199 deps = ["//libc:__support_sign"],
1200 )
1201
1202 math_test(
1203 name = "nextafterl",
1204 hdrs = ["NextAfterTest.h"],
1205 deps = ["//libc:__support_sign"],
1206 )
1207
1208 math_test(
1209 name = "nextafterf128",
1210 hdrs = ["NextAfterTest.h"],
1211 deps = ["//libc:__support_sign"],
1212 )
1213
1214 math_test(
1215 name = "nextafterf16",
1216 hdrs = ["NextAfterTest.h"],
1217 deps = ["//libc:__support_sign"],
1218 )
1219
1220 math_test(
1221 name = "nextdown",
1222 hdrs = ["NextDownTest.h"],
1223 )
1224
1225 math_test(
1226 name = "nextdownf",
1227 hdrs = ["NextDownTest.h"],
1228 )
1229
1230 math_test(
1231 name = "nextdownl",
1232 hdrs = ["NextDownTest.h"],
1233 )
1234
1235 math_test(
1236 name = "nextdownf128",
1237 hdrs = ["NextDownTest.h"],
1238 )
1239
1240 math_test(
1241 name = "nextdownf16",
1242 hdrs = ["NextDownTest.h"],
1243 )
1244
1245 math_test(
1246 name = "nexttoward",
1247 hdrs = ["NextTowardTest.h"],
1248 )
1249
1250 math_test(
1251 name = "nexttowardf",
1252 hdrs = ["NextTowardTest.h"],
1253 )
1254
1255 math_test(
1256 name = "nexttowardl",
1257 hdrs = ["NextTowardTest.h"],
1258 )
1259
1260 math_test(
1261 name = "nexttowardf16",
1262 hdrs = ["NextTowardTest.h"],
1263 )
1264
1265 math_test(
1266 name = "nextup",
1267 hdrs = ["NextUpTest.h"],
1268 )
1269
1270 math_test(
1271 name = "nextupf",
1272 hdrs = ["NextUpTest.h"],
1273 )
1274
1275 math_test(
1276 name = "nextupl",
1277 hdrs = ["NextUpTest.h"],
1278 )
1279
1280 math_test(
1281 name = "nextupf128",
1282 hdrs = ["NextUpTest.h"],
1283 )
1284
1285 math_test(
1286 name = "nextupf16",
1287 hdrs = ["NextUpTest.h"],
1288 )
1289
1290 math_test(name = "pow")
1291
1292 math_test(name = "powf")
1293
1294 math_test(
1295 name = "remquo",
1296 hdrs = ["RemQuoTest.h"],
1297 )
1298
1299 math_test(
1300 name = "remquof",
1301 hdrs = ["RemQuoTest.h"],
1302 )
1303
1304 math_test(
1305 name = "remquol",
1306 hdrs = ["RemQuoTest.h"],
1307 )
1308
1309 math_test(
1310 name = "remquof128",
1311 hdrs = ["RemQuoTest.h"],
1312 )
1313
1314 math_test(
1315 name = "remquof16",
1316 hdrs = ["RemQuoTest.h"],
1317 )
1318
1319 math_test(
1320 name = "rint",
1321 hdrs = ["RIntTest.h"],
1322 )
1323
1324 math_test(
1325 name = "rintf",
1326 hdrs = ["RIntTest.h"],
1327 )
1328
1329 math_test(
1330 name = "rintl",
1331 hdrs = ["RIntTest.h"],
1332 )
1333
1334 math_test(
1335 name = "rintf128",
1336 hdrs = ["RIntTest.h"],
1337 )
1338
1339 math_test(
1340 name = "rintf16",
1341 hdrs = ["RIntTest.h"],
1342 )
1343
1344 math_test(
1345 name = "roundeven",
1346 hdrs = ["RoundEvenTest.h"],
1347 )
1348
1349 math_test(
1350 name = "roundevenf",
1351 hdrs = ["RoundEvenTest.h"],
1352 )
1353
1354 math_test(
1355 name = "roundevenl",
1356 hdrs = ["RoundEvenTest.h"],
1357 )
1358
1359 math_test(
1360 name = "roundevenf128",
1361 hdrs = ["RoundEvenTest.h"],
1362 )
1363
1364 math_test(
1365 name = "roundevenf16",
1366 hdrs = ["RoundEvenTest.h"],
1367 )
1368
1369 math_test(
1370 name = "round",
1371 hdrs = ["RoundTest.h"],
1372 )
1373
1374 math_test(
1375 name = "roundf",
1376 hdrs = ["RoundTest.h"],
1377 )
1378
1379 math_test(
1380 name = "roundl",
1381 hdrs = ["RoundTest.h"],
1382 )
1383
1384 math_test(
1385 name = "roundf128",
1386 hdrs = ["RoundTest.h"],
1387 )
1388
1389 math_test(
1390 name = "roundf16",
1391 hdrs = ["RoundTest.h"],
1392 )
1393
1394 math_test(
1395 name = "scalbn",
1396 hdrs = [
1397 "LdExpTest.h",
1398 "ScalbnTest.h",
1399 ],
1400 )
1401
1402 math_test(
1403 name = "scalbnf",
1404 hdrs = [
1405 "LdExpTest.h",
1406 "ScalbnTest.h",
1407 ],
1408 )
1409
1410 math_test(
1411 name = "scalbnl",
1412 hdrs = [
1413 "LdExpTest.h",
1414 "ScalbnTest.h",
1415 ],
1416 )
1417
1418 math_test(
1419 name = "scalbnf128",
1420 hdrs = [
1421 "LdExpTest.h",
1422 "ScalbnTest.h",
1423 ],
1424 )
1425
1426 math_test(
1427 name = "scalblnf16",
1428 hdrs = [
1429 "LdExpTest.h",
1430 "ScalbnTest.h",
1431 ],
1432 )
1433
1434 math_test(
1435 name = "scalbnf16",
1436 hdrs = [
1437 "LdExpTest.h",
1438 "ScalbnTest.h",
1439 ],
1440 )
1441
1442 math_test(
1443 name = "scalbln",
1444 hdrs = [
1445 "LdExpTest.h",
1446 "ScalbnTest.h",
1447 ],
1448 )
1449
1450 math_test(
1451 name = "scalblnf",
1452 hdrs = [
1453 "LdExpTest.h",
1454 "ScalbnTest.h",
1455 ],
1456 )
1457
1458 math_test(
1459 name = "scalblnl",
1460 hdrs = [
1461 "LdExpTest.h",
1462 "ScalbnTest.h",
1463 ],
1464 )
1465
1466 math_test(
1467 name = "scalblnf128",
1468 hdrs = [
1469 "LdExpTest.h",
1470 "ScalbnTest.h",
1471 ],
1472 )
1473
1474 math_test(
1475 name = "setpayload",
1476 hdrs = ["SetPayloadTest.h"],
1477 )
1478
1479 math_test(
1480 name = "setpayloadf",
1481 hdrs = ["SetPayloadTest.h"],
1482 )
1483
1484 math_test(
1485 name = "setpayloadl",
1486 hdrs = ["SetPayloadTest.h"],
1487 )
1488
1489 math_test(
1490 name = "setpayloadf128",
1491 hdrs = ["SetPayloadTest.h"],
1492 )
1493
1494 math_test(
1495 name = "setpayloadf16",
1496 hdrs = ["SetPayloadTest.h"],
1497 )
1498
1499 math_test(
1500 name = "setpayloadsig",
1501 hdrs = ["SetPayloadSigTest.h"],
1502 )
1503
1504 math_test(
1505 name = "setpayloadsigf",
1506 hdrs = ["SetPayloadSigTest.h"],
1507 )
1508
1509 math_test(
1510 name = "setpayloadsigl",
1511 hdrs = ["SetPayloadSigTest.h"],
1512 )
1513
1514 math_test(
1515 name = "setpayloadsigf128",
1516 hdrs = ["SetPayloadSigTest.h"],
1517 )
1518
1519 math_test(
1520 name = "setpayloadsigf16",
1521 hdrs = ["SetPayloadSigTest.h"],
1522 )
1523
1524 math_test(name = "sin")
1525
1526 math_test(name = "sinf")
1527
1528 math_test(name = "sincos")
1529
1530 math_test(name = "sincosf")
1531
1532 math_test(
1533 name = "sinhf",
1534 deps = [
1535 "//libc:__support_cpp_array",
1536 ],
1537 )
1538
1539 math_test(name = "sinpif")
1540
1541 math_test(name = "tan")
1542
1543 math_test(name = "tanf")
1544
1545 math_test(name = "tanhf")
1546
1547 math_test(name = "tanpif")
1548
1549 math_test(
1550 name = "totalorder",
1551 hdrs = ["TotalOrderTest.h"],
1552 )
1553
1554 math_test(
1555 name = "totalorderf",
1556 hdrs = ["TotalOrderTest.h"],
1557 )
1558
1559 math_test(
1560 name = "totalorderl",
1561 hdrs = ["TotalOrderTest.h"],
1562 )
1563
1564 math_test(
1565 name = "totalorderf128",
1566 hdrs = ["TotalOrderTest.h"],
1567 )
1568
1569 math_test(
1570 name = "totalorderf16",
1571 hdrs = ["TotalOrderTest.h"],
1572 )
1573
1574 math_test(
1575 name = "totalordermag",
1576 hdrs = ["TotalOrderMagTest.h"],
1577 )
1578
1579 math_test(
1580 name = "totalordermagf",
1581 hdrs = ["TotalOrderMagTest.h"],
1582 )
1583
1584 math_test(
1585 name = "totalordermagl",
1586 hdrs = ["TotalOrderMagTest.h"],
1587 )
1588
1589 math_test(
1590 name = "totalordermagf128",
1591 hdrs = ["TotalOrderMagTest.h"],
1592 )
1593
1594 math_test(
1595 name = "totalordermagf16",
1596 hdrs = ["TotalOrderMagTest.h"],
1597 )
1598
1599 math_test(
1600 name = "trunc",
1601 hdrs = ["TruncTest.h"],
1602 )
1603
1604 math_test(
1605 name = "truncf",
1606 hdrs = ["TruncTest.h"],
1607 )
1608
1609 math_test(
1610 name = "truncl",
1611 hdrs = ["TruncTest.h"],
1612 )
1613
1614 math_test(
1615 name = "truncf128",
1616 hdrs = ["TruncTest.h"],
1617 )
1618
1619 math_test(
1620 name = "truncf16",
1621 hdrs = ["TruncTest.h"],
1622 )
1623
1624 math_test(
1625 name = "ufromfp",
1626 hdrs = ["UfromfpTest.h"],
1627 )
1628
1629 math_test(
1630 name = "ufromfpf",
1631 hdrs = ["UfromfpTest.h"],
1632 )
1633
1634 math_test(
1635 name = "ufromfpl",
1636 hdrs = ["UfromfpTest.h"],
1637 )
1638
1639 math_test(
1640 name = "ufromfpf128",
1641 hdrs = ["UfromfpTest.h"],
1642 )
1643
1644 math_test(
1645 name = "ufromfpf16",
1646 hdrs = ["UfromfpTest.h"],
1647 )
1648
1649 math_test(
1650 name = "ufromfpx",
1651 hdrs = ["UfromfpxTest.h"],
1652 )
1653
1654 math_test(
1655 name = "ufromfpxf",
1656 hdrs = ["UfromfpxTest.h"],
1657 )
1658
1659 math_test(
1660 name = "ufromfpxl",
1661 hdrs = ["UfromfpxTest.h"],
1662 )
1663
1664 math_test(
1665 name = "ufromfpxf128",
1666 hdrs = ["UfromfpxTest.h"],
1667 )
1668
1669 math_test(
1670 name = "ufromfpxf16",
1671 hdrs = ["UfromfpxTest.h"],
1672 )
1673
1674 math_test(name = "cosf16")
1675
1676 math_test(name = "coshf16")
1677
1678 math_test(name = "cospif16")
1679
1680 math_test(name = "exp10f16")
1681
1682 math_test(name = "exp10m1f16")
1683
1684 math_test(name = "exp2f16")
1685
1686 math_test(name = "exp2m1f16")
1687
1688 math_test(name = "expf16")
1689
1690 math_test(name = "expm1f16")
1691
1692 math_test(
1693 name = "issignalingf16",
1694 hdrs = ["IsSignalingTest.h"],
1695 )
1696
1697 math_test(name = "log10f16")
1698
1699 math_test(name = "log2f16")
1700
1701 math_test(name = "logf16")
1702
1703 math_test(
1704 name = "nanf16",
1705 deps = [
1706 "//libc:__support_macros_sanitizer",
1707 "//libc:hdr_signal_macros",
1708 ],
1709 )
1710
1711 # math_test(name = "remainderf16") #TODO: add remainderf16 tests
1712
1713 math_test(name = "sinf16")
1714
1715 math_test(name = "sinhf16")
1716
1717 math_test(name = "sinpif16")
1718
1719 math_test(name = "tanf16")
1720
1721 math_test(name = "tanhf16")
1722
1723 math_test(name = "tanpif16")