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 7load("//libc/test/src/math:libc_math_test_rules.bzl", "math_test") 8 9package(default_visibility = ["//visibility:public"]) 10 11licenses(["notice"]) 12 13math_test(name = "acosf") 14 15math_test(name = "acoshf") 16 17math_test(name = "asinf") 18 19math_test(name = "asinhf") 20 21math_test(name = "atan2") 22 23math_test(name = "atan2f") 24 25math_test(name = "atanf") 26 27math_test(name = "atanhf") 28 29math_test( 30 name = "canonicalize", 31 hdrs = ["CanonicalizeTest.h"], 32 deps = [ 33 "//libc:__support_integer_literals", 34 ], 35) 36 37math_test( 38 name = "canonicalizef", 39 hdrs = ["CanonicalizeTest.h"], 40 deps = [ 41 "//libc:__support_integer_literals", 42 ], 43) 44 45math_test( 46 name = "canonicalizel", 47 hdrs = ["CanonicalizeTest.h"], 48 deps = [ 49 "//libc:__support_integer_literals", 50 ], 51) 52 53math_test( 54 name = "canonicalizef128", 55 hdrs = ["CanonicalizeTest.h"], 56 deps = [ 57 "//libc:__support_integer_literals", 58 ], 59) 60 61math_test(name = "cbrt") 62 63math_test(name = "cbrtf") 64 65math_test( 66 name = "ceil", 67 hdrs = ["CeilTest.h"], 68) 69 70math_test( 71 name = "ceilf", 72 hdrs = ["CeilTest.h"], 73) 74 75math_test( 76 name = "ceill", 77 hdrs = ["CeilTest.h"], 78) 79 80math_test( 81 name = "ceilf128", 82 hdrs = ["CeilTest.h"], 83) 84 85math_test( 86 name = "copysign", 87 hdrs = ["CopySignTest.h"], 88) 89 90math_test( 91 name = "copysignf", 92 hdrs = ["CopySignTest.h"], 93) 94 95math_test( 96 name = "copysignl", 97 hdrs = ["CopySignTest.h"], 98) 99 100math_test( 101 name = "copysignf128", 102 hdrs = ["CopySignTest.h"], 103) 104 105math_test(name = "cos") 106 107math_test(name = "cosf") 108 109math_test( 110 name = "coshf", 111 deps = [ 112 "//libc:__support_cpp_array", 113 ], 114) 115 116math_test(name = "cospif") 117 118math_test( 119 name = "daddl", 120 hdrs = ["AddTest.h"], 121) 122 123math_test( 124 name = "daddf128", 125 hdrs = ["AddTest.h"], 126) 127 128math_test( 129 name = "ddivl", 130 hdrs = ["DivTest.h"], 131) 132 133math_test( 134 name = "ddivf128", 135 hdrs = ["DivTest.h"], 136) 137 138math_test( 139 name = "dfmal", 140 hdrs = ["FmaTest.h"], 141) 142 143math_test( 144 name = "dfmaf128", 145 hdrs = ["FmaTest.h"], 146) 147 148math_test( 149 name = "dmull", 150 hdrs = ["MulTest.h"], 151) 152 153math_test( 154 name = "dmulf128", 155 hdrs = ["MulTest.h"], 156) 157 158math_test( 159 name = "dsqrtl", 160 hdrs = ["SqrtTest.h"], 161) 162 163math_test( 164 name = "dsqrtf128", 165 hdrs = ["SqrtTest.h"], 166) 167 168math_test( 169 name = "dsubl", 170 hdrs = ["SubTest.h"], 171) 172 173math_test( 174 name = "dsubf128", 175 hdrs = ["SubTest.h"], 176) 177 178math_test(name = "erff") 179 180math_test(name = "exp") 181 182math_test(name = "expf") 183 184math_test(name = "exp10") 185 186math_test(name = "exp10f") 187 188math_test(name = "exp2") 189 190math_test(name = "exp2f") 191 192math_test(name = "exp2m1f") 193 194math_test(name = "expm1") 195 196math_test(name = "expm1f") 197 198math_test( 199 name = "fabs", 200 hdrs = ["FAbsTest.h"], 201) 202 203math_test( 204 name = "fabsf", 205 hdrs = ["FAbsTest.h"], 206) 207 208math_test( 209 name = "fabsl", 210 hdrs = ["FAbsTest.h"], 211) 212 213math_test( 214 name = "fabsf128", 215 hdrs = ["FAbsTest.h"], 216) 217 218math_test( 219 name = "fadd", 220 hdrs = ["AddTest.h"], 221) 222 223math_test( 224 name = "faddl", 225 hdrs = ["AddTest.h"], 226) 227 228math_test( 229 name = "faddf128", 230 hdrs = ["AddTest.h"], 231) 232 233math_test( 234 name = "fdim", 235 hdrs = ["FDimTest.h"], 236) 237 238math_test( 239 name = "fdimf", 240 hdrs = ["FDimTest.h"], 241) 242 243math_test( 244 name = "fdiml", 245 hdrs = ["FDimTest.h"], 246) 247 248math_test( 249 name = "fdimf128", 250 hdrs = ["FDimTest.h"], 251) 252 253math_test( 254 name = "fdiv", 255 hdrs = ["DivTest.h"], 256) 257 258math_test( 259 name = "fdivl", 260 hdrs = ["DivTest.h"], 261) 262 263math_test( 264 name = "fdivf128", 265 hdrs = ["DivTest.h"], 266) 267 268math_test( 269 name = "ffma", 270 hdrs = ["FmaTest.h"], 271) 272 273math_test( 274 name = "ffmal", 275 hdrs = ["FmaTest.h"], 276) 277 278math_test( 279 name = "ffmaf128", 280 hdrs = ["FmaTest.h"], 281) 282 283math_test( 284 name = "floor", 285 hdrs = ["FloorTest.h"], 286) 287 288math_test( 289 name = "floorf", 290 hdrs = ["FloorTest.h"], 291) 292 293math_test( 294 name = "floorl", 295 hdrs = ["FloorTest.h"], 296) 297 298math_test( 299 name = "floorf128", 300 hdrs = ["FloorTest.h"], 301) 302 303# TODO: Add fma, fmaf, fmal, fmaf128 tests. 304 305math_test( 306 name = "fmax", 307 hdrs = ["FMaxTest.h"], 308) 309 310math_test( 311 name = "fmaxf", 312 hdrs = ["FMaxTest.h"], 313) 314 315math_test( 316 name = "fmaxl", 317 hdrs = ["FMaxTest.h"], 318) 319 320math_test( 321 name = "fmaxf128", 322 hdrs = ["FMaxTest.h"], 323) 324 325math_test( 326 name = "fmaximum", 327 hdrs = ["FMaximumTest.h"], 328) 329 330math_test( 331 name = "fmaximumf", 332 hdrs = ["FMaximumTest.h"], 333) 334 335math_test( 336 name = "fmaximuml", 337 hdrs = ["FMaximumTest.h"], 338) 339 340math_test( 341 name = "fmaximumf128", 342 hdrs = ["FMaximumTest.h"], 343) 344 345math_test( 346 name = "fmaximum_mag", 347 hdrs = ["FMaximumMagTest.h"], 348) 349 350math_test( 351 name = "fmaximum_magf", 352 hdrs = ["FMaximumMagTest.h"], 353) 354 355math_test( 356 name = "fmaximum_magl", 357 hdrs = ["FMaximumMagTest.h"], 358) 359 360math_test( 361 name = "fmaximum_magf128", 362 hdrs = ["FMaximumMagTest.h"], 363) 364 365math_test( 366 name = "fmaximum_mag_num", 367 hdrs = ["FMaximumMagNumTest.h"], 368) 369 370math_test( 371 name = "fmaximum_mag_numf", 372 hdrs = ["FMaximumMagNumTest.h"], 373) 374 375math_test( 376 name = "fmaximum_mag_numl", 377 hdrs = ["FMaximumMagNumTest.h"], 378) 379 380math_test( 381 name = "fmaximum_mag_numf128", 382 hdrs = ["FMaximumMagNumTest.h"], 383) 384 385math_test( 386 name = "fmaximum_num", 387 hdrs = ["FMaximumNumTest.h"], 388) 389 390math_test( 391 name = "fmaximum_numf", 392 hdrs = ["FMaximumNumTest.h"], 393) 394 395math_test( 396 name = "fmaximum_numl", 397 hdrs = ["FMaximumNumTest.h"], 398) 399 400math_test( 401 name = "fmaximum_numf128", 402 hdrs = ["FMaximumNumTest.h"], 403) 404 405math_test( 406 name = "fmin", 407 hdrs = ["FMinTest.h"], 408) 409 410math_test( 411 name = "fminf", 412 hdrs = ["FMinTest.h"], 413) 414 415math_test( 416 name = "fminl", 417 hdrs = ["FMinTest.h"], 418) 419 420math_test( 421 name = "fminf128", 422 hdrs = ["FMinTest.h"], 423) 424 425math_test( 426 name = "fminimum", 427 hdrs = ["FMinimumTest.h"], 428) 429 430math_test( 431 name = "fminimumf", 432 hdrs = ["FMinimumTest.h"], 433) 434 435math_test( 436 name = "fminimuml", 437 hdrs = ["FMinimumTest.h"], 438) 439 440math_test( 441 name = "fminimumf128", 442 hdrs = ["FMinimumTest.h"], 443) 444 445math_test( 446 name = "fminimum_mag", 447 hdrs = ["FMinimumMagTest.h"], 448) 449 450math_test( 451 name = "fminimum_magf", 452 hdrs = ["FMinimumMagTest.h"], 453) 454 455math_test( 456 name = "fminimum_magl", 457 hdrs = ["FMinimumMagTest.h"], 458) 459 460math_test( 461 name = "fminimum_magf128", 462 hdrs = ["FMinimumMagTest.h"], 463) 464 465math_test( 466 name = "fminimum_mag_num", 467 hdrs = ["FMinimumMagNumTest.h"], 468) 469 470math_test( 471 name = "fminimum_mag_numf", 472 hdrs = ["FMinimumMagNumTest.h"], 473) 474 475math_test( 476 name = "fminimum_mag_numl", 477 hdrs = ["FMinimumMagNumTest.h"], 478) 479 480math_test( 481 name = "fminimum_mag_numf128", 482 hdrs = ["FMinimumMagNumTest.h"], 483) 484 485math_test( 486 name = "fminimum_num", 487 hdrs = ["FMinimumNumTest.h"], 488) 489 490math_test( 491 name = "fminimum_numf", 492 hdrs = ["FMinimumNumTest.h"], 493) 494 495math_test( 496 name = "fminimum_numl", 497 hdrs = ["FMinimumNumTest.h"], 498) 499 500math_test( 501 name = "fminimum_numf128", 502 hdrs = ["FMinimumNumTest.h"], 503) 504 505math_test( 506 name = "fmod", 507 hdrs = ["FModTest.h"], 508) 509 510math_test( 511 name = "fmodf", 512 hdrs = ["FModTest.h"], 513) 514 515math_test( 516 name = "fmodl", 517 hdrs = ["FModTest.h"], 518) 519 520math_test( 521 name = "fmodf128", 522 hdrs = ["FModTest.h"], 523) 524 525math_test( 526 name = "fmul", 527 hdrs = ["MulTest.h"], 528) 529 530math_test( 531 name = "fmull", 532 hdrs = ["MulTest.h"], 533) 534 535math_test( 536 name = "fmulf128", 537 hdrs = ["MulTest.h"], 538) 539 540math_test( 541 name = "frexp", 542 hdrs = ["FrexpTest.h"], 543) 544 545math_test( 546 name = "frexpf", 547 hdrs = ["FrexpTest.h"], 548) 549 550math_test( 551 name = "frexpl", 552 hdrs = ["FrexpTest.h"], 553) 554 555math_test( 556 name = "frexpf128", 557 hdrs = ["FrexpTest.h"], 558) 559 560math_test( 561 name = "fromfp", 562 hdrs = ["FromfpTest.h"], 563) 564 565math_test( 566 name = "fromfpf", 567 hdrs = ["FromfpTest.h"], 568) 569 570math_test( 571 name = "fromfpl", 572 hdrs = ["FromfpTest.h"], 573) 574 575math_test( 576 name = "fromfpf128", 577 hdrs = ["FromfpTest.h"], 578) 579 580math_test( 581 name = "fromfpx", 582 hdrs = ["FromfpxTest.h"], 583) 584 585math_test( 586 name = "fromfpxf", 587 hdrs = ["FromfpxTest.h"], 588) 589 590math_test( 591 name = "fromfpxl", 592 hdrs = ["FromfpxTest.h"], 593) 594 595math_test( 596 name = "fromfpxf128", 597 hdrs = ["FromfpxTest.h"], 598) 599 600math_test( 601 name = "fsqrt", 602 hdrs = ["SqrtTest.h"], 603) 604 605math_test( 606 name = "fsqrtl", 607 hdrs = ["SqrtTest.h"], 608) 609 610math_test( 611 name = "fsqrtf128", 612 hdrs = ["SqrtTest.h"], 613) 614 615math_test( 616 name = "fsub", 617 hdrs = ["SubTest.h"], 618) 619 620math_test( 621 name = "fsubl", 622 hdrs = ["SubTest.h"], 623) 624 625math_test( 626 name = "fsubf128", 627 hdrs = ["SubTest.h"], 628) 629 630math_test( 631 name = "getpayload", 632 hdrs = ["GetPayloadTest.h"], 633) 634 635math_test( 636 name = "getpayloadf", 637 hdrs = ["GetPayloadTest.h"], 638) 639 640math_test( 641 name = "getpayloadl", 642 hdrs = ["GetPayloadTest.h"], 643) 644 645math_test( 646 name = "getpayloadf128", 647 hdrs = ["GetPayloadTest.h"], 648) 649 650math_test( 651 name = "hypot", 652 hdrs = ["HypotTest.h"], 653) 654 655math_test( 656 name = "hypotf", 657 hdrs = ["HypotTest.h"], 658) 659 660math_test( 661 name = "ilogb", 662 hdrs = ["ILogbTest.h"], 663) 664 665math_test( 666 name = "ilogbf", 667 hdrs = ["ILogbTest.h"], 668) 669 670math_test( 671 name = "ilogbl", 672 hdrs = ["ILogbTest.h"], 673) 674 675math_test( 676 name = "ilogbf128", 677 hdrs = ["ILogbTest.h"], 678) 679 680math_test( 681 name = "ldexp", 682 hdrs = ["LdExpTest.h"], 683) 684 685math_test( 686 name = "ldexpf", 687 hdrs = ["LdExpTest.h"], 688) 689 690math_test( 691 name = "ldexpl", 692 hdrs = ["LdExpTest.h"], 693) 694 695math_test( 696 name = "ldexpf128", 697 hdrs = ["LdExpTest.h"], 698) 699 700math_test( 701 name = "llogb", 702 hdrs = ["ILogbTest.h"], 703) 704 705math_test( 706 name = "llogbf", 707 hdrs = ["ILogbTest.h"], 708) 709 710math_test( 711 name = "llogbl", 712 hdrs = ["ILogbTest.h"], 713) 714 715math_test( 716 name = "llogbf128", 717 hdrs = ["ILogbTest.h"], 718) 719 720math_test( 721 name = "llrint", 722 hdrs = ["RoundToIntegerTest.h"], 723) 724 725math_test( 726 name = "llrintf", 727 hdrs = ["RoundToIntegerTest.h"], 728) 729 730math_test( 731 name = "llrintl", 732 hdrs = ["RoundToIntegerTest.h"], 733) 734 735math_test( 736 name = "llrintf128", 737 hdrs = ["RoundToIntegerTest.h"], 738) 739 740math_test( 741 name = "llround", 742 hdrs = ["RoundToIntegerTest.h"], 743) 744 745math_test( 746 name = "llroundf", 747 hdrs = ["RoundToIntegerTest.h"], 748) 749 750math_test( 751 name = "llroundl", 752 hdrs = ["RoundToIntegerTest.h"], 753) 754 755math_test( 756 name = "llroundf128", 757 hdrs = ["RoundToIntegerTest.h"], 758) 759 760math_test(name = "log") 761 762math_test(name = "logf") 763 764math_test(name = "log10") 765 766math_test(name = "log10f") 767 768math_test(name = "log1p") 769 770math_test(name = "log1pf") 771 772math_test(name = "log2") 773 774math_test(name = "log2f") 775 776math_test( 777 name = "logb", 778 hdrs = ["LogbTest.h"], 779) 780 781math_test( 782 name = "logbf", 783 hdrs = ["LogbTest.h"], 784) 785 786math_test( 787 name = "logbl", 788 hdrs = ["LogbTest.h"], 789) 790 791math_test( 792 name = "logbf128", 793 hdrs = ["LogbTest.h"], 794) 795 796math_test( 797 name = "lrint", 798 hdrs = ["RoundToIntegerTest.h"], 799) 800 801math_test( 802 name = "lrintf", 803 hdrs = ["RoundToIntegerTest.h"], 804) 805 806math_test( 807 name = "lrintl", 808 hdrs = ["RoundToIntegerTest.h"], 809) 810 811math_test( 812 name = "lrintf128", 813 hdrs = ["RoundToIntegerTest.h"], 814) 815 816math_test( 817 name = "lround", 818 hdrs = ["RoundToIntegerTest.h"], 819) 820 821math_test( 822 name = "lroundf", 823 hdrs = ["RoundToIntegerTest.h"], 824) 825 826math_test( 827 name = "lroundl", 828 hdrs = ["RoundToIntegerTest.h"], 829) 830 831math_test( 832 name = "lroundf128", 833 hdrs = ["RoundToIntegerTest.h"], 834) 835 836math_test( 837 name = "modf", 838 hdrs = ["ModfTest.h"], 839) 840 841math_test( 842 name = "modff", 843 hdrs = ["ModfTest.h"], 844) 845 846math_test( 847 name = "modfl", 848 hdrs = ["ModfTest.h"], 849) 850 851math_test( 852 name = "modff128", 853 hdrs = ["ModfTest.h"], 854) 855 856# TODO: add nan tests. 857 858math_test( 859 name = "nearbyint", 860 hdrs = ["NearbyIntTest.h"], 861) 862 863math_test( 864 name = "nearbyintf", 865 hdrs = ["NearbyIntTest.h"], 866) 867 868math_test( 869 name = "nearbyintl", 870 hdrs = ["NearbyIntTest.h"], 871) 872 873math_test( 874 name = "nearbyintf128", 875 hdrs = ["NearbyIntTest.h"], 876) 877 878math_test( 879 name = "nextafter", 880 hdrs = ["NextAfterTest.h"], 881) 882 883math_test( 884 name = "nextafterf", 885 hdrs = ["NextAfterTest.h"], 886) 887 888math_test( 889 name = "nextafterl", 890 hdrs = ["NextAfterTest.h"], 891) 892 893math_test( 894 name = "nextafterf128", 895 hdrs = ["NextAfterTest.h"], 896) 897 898math_test( 899 name = "nextdown", 900 hdrs = ["NextDownTest.h"], 901) 902 903math_test( 904 name = "nextdownf", 905 hdrs = ["NextDownTest.h"], 906) 907 908math_test( 909 name = "nextdownl", 910 hdrs = ["NextDownTest.h"], 911) 912 913math_test( 914 name = "nextdownf128", 915 hdrs = ["NextDownTest.h"], 916) 917 918math_test( 919 name = "nexttoward", 920 hdrs = ["NextTowardTest.h"], 921) 922 923math_test( 924 name = "nexttowardf", 925 hdrs = ["NextTowardTest.h"], 926) 927 928math_test( 929 name = "nexttowardl", 930 hdrs = ["NextTowardTest.h"], 931) 932 933math_test( 934 name = "nextup", 935 hdrs = ["NextUpTest.h"], 936) 937 938math_test( 939 name = "nextupf", 940 hdrs = ["NextUpTest.h"], 941) 942 943math_test( 944 name = "nextupl", 945 hdrs = ["NextUpTest.h"], 946) 947 948math_test( 949 name = "nextupf128", 950 hdrs = ["NextUpTest.h"], 951) 952 953math_test(name = "pow") 954 955math_test(name = "powf") 956 957math_test( 958 name = "remquo", 959 hdrs = ["RemQuoTest.h"], 960) 961 962math_test( 963 name = "remquof", 964 hdrs = ["RemQuoTest.h"], 965) 966 967math_test( 968 name = "remquol", 969 hdrs = ["RemQuoTest.h"], 970) 971 972math_test( 973 name = "remquof128", 974 hdrs = ["RemQuoTest.h"], 975) 976 977math_test( 978 name = "rint", 979 hdrs = ["RIntTest.h"], 980) 981 982math_test( 983 name = "rintf", 984 hdrs = ["RIntTest.h"], 985) 986 987math_test( 988 name = "rintl", 989 hdrs = ["RIntTest.h"], 990) 991 992math_test( 993 name = "rintf128", 994 hdrs = ["RIntTest.h"], 995) 996 997math_test( 998 name = "roundeven", 999 hdrs = ["RoundEvenTest.h"], 1000) 1001 1002math_test( 1003 name = "roundevenf", 1004 hdrs = ["RoundEvenTest.h"], 1005) 1006 1007math_test( 1008 name = "roundevenl", 1009 hdrs = ["RoundEvenTest.h"], 1010) 1011 1012math_test( 1013 name = "roundevenf128", 1014 hdrs = ["RoundEvenTest.h"], 1015) 1016 1017math_test( 1018 name = "round", 1019 hdrs = ["RoundTest.h"], 1020) 1021 1022math_test( 1023 name = "roundf", 1024 hdrs = ["RoundTest.h"], 1025) 1026 1027math_test( 1028 name = "roundl", 1029 hdrs = ["RoundTest.h"], 1030) 1031 1032math_test( 1033 name = "roundf128", 1034 hdrs = ["RoundTest.h"], 1035) 1036 1037math_test( 1038 name = "scalbn", 1039 hdrs = [ 1040 "LdExpTest.h", 1041 "ScalbnTest.h", 1042 ], 1043) 1044 1045math_test( 1046 name = "scalbnf", 1047 hdrs = [ 1048 "LdExpTest.h", 1049 "ScalbnTest.h", 1050 ], 1051) 1052 1053math_test( 1054 name = "scalbnl", 1055 hdrs = [ 1056 "LdExpTest.h", 1057 "ScalbnTest.h", 1058 ], 1059) 1060 1061math_test( 1062 name = "scalbnf128", 1063 hdrs = [ 1064 "LdExpTest.h", 1065 "ScalbnTest.h", 1066 ], 1067) 1068 1069math_test( 1070 name = "scalbln", 1071 hdrs = [ 1072 "LdExpTest.h", 1073 "ScalbnTest.h", 1074 ], 1075) 1076 1077math_test( 1078 name = "scalblnf", 1079 hdrs = [ 1080 "LdExpTest.h", 1081 "ScalbnTest.h", 1082 ], 1083) 1084 1085math_test( 1086 name = "scalblnl", 1087 hdrs = [ 1088 "LdExpTest.h", 1089 "ScalbnTest.h", 1090 ], 1091) 1092 1093math_test( 1094 name = "scalblnf128", 1095 hdrs = [ 1096 "LdExpTest.h", 1097 "ScalbnTest.h", 1098 ], 1099) 1100 1101math_test( 1102 name = "setpayload", 1103 hdrs = ["SetPayloadTest.h"], 1104) 1105 1106math_test( 1107 name = "setpayloadf", 1108 hdrs = ["SetPayloadTest.h"], 1109) 1110 1111math_test( 1112 name = "setpayloadl", 1113 hdrs = ["SetPayloadTest.h"], 1114) 1115 1116math_test( 1117 name = "setpayloadf128", 1118 hdrs = ["SetPayloadTest.h"], 1119) 1120 1121math_test( 1122 name = "setpayloadsig", 1123 hdrs = ["SetPayloadSigTest.h"], 1124) 1125 1126math_test( 1127 name = "setpayloadsigf", 1128 hdrs = ["SetPayloadSigTest.h"], 1129) 1130 1131math_test( 1132 name = "setpayloadsigl", 1133 hdrs = ["SetPayloadSigTest.h"], 1134) 1135 1136math_test( 1137 name = "setpayloadsigf128", 1138 hdrs = ["SetPayloadSigTest.h"], 1139) 1140 1141math_test(name = "sin") 1142 1143math_test(name = "sinf") 1144 1145math_test(name = "sincos") 1146 1147math_test(name = "sincosf") 1148 1149math_test( 1150 name = "sinhf", 1151 deps = [ 1152 "//libc:__support_cpp_array", 1153 ], 1154) 1155 1156math_test(name = "sinpif") 1157 1158math_test( 1159 name = "sqrt", 1160 hdrs = ["SqrtTest.h"], 1161) 1162 1163math_test( 1164 name = "sqrtf", 1165 hdrs = ["SqrtTest.h"], 1166) 1167 1168math_test( 1169 name = "sqrtl", 1170 hdrs = ["SqrtTest.h"], 1171) 1172 1173math_test( 1174 name = "sqrtf128", 1175 hdrs = ["SqrtTest.h"], 1176) 1177 1178math_test(name = "tan") 1179 1180math_test(name = "tanf") 1181 1182math_test(name = "tanhf") 1183 1184math_test( 1185 name = "totalorder", 1186 hdrs = ["TotalOrderTest.h"], 1187) 1188 1189math_test( 1190 name = "totalorderf", 1191 hdrs = ["TotalOrderTest.h"], 1192) 1193 1194math_test( 1195 name = "totalorderl", 1196 hdrs = ["TotalOrderTest.h"], 1197) 1198 1199math_test( 1200 name = "totalorderf128", 1201 hdrs = ["TotalOrderTest.h"], 1202) 1203 1204math_test( 1205 name = "totalordermag", 1206 hdrs = ["TotalOrderMagTest.h"], 1207) 1208 1209math_test( 1210 name = "totalordermagf", 1211 hdrs = ["TotalOrderMagTest.h"], 1212) 1213 1214math_test( 1215 name = "totalordermagl", 1216 hdrs = ["TotalOrderMagTest.h"], 1217) 1218 1219math_test( 1220 name = "totalordermagf128", 1221 hdrs = ["TotalOrderMagTest.h"], 1222) 1223 1224math_test( 1225 name = "trunc", 1226 hdrs = ["TruncTest.h"], 1227) 1228 1229math_test( 1230 name = "truncf", 1231 hdrs = ["TruncTest.h"], 1232) 1233 1234math_test( 1235 name = "truncl", 1236 hdrs = ["TruncTest.h"], 1237) 1238 1239math_test( 1240 name = "truncf128", 1241 hdrs = ["TruncTest.h"], 1242) 1243 1244math_test( 1245 name = "ufromfp", 1246 hdrs = ["UfromfpTest.h"], 1247) 1248 1249math_test( 1250 name = "ufromfpf", 1251 hdrs = ["UfromfpTest.h"], 1252) 1253 1254math_test( 1255 name = "ufromfpl", 1256 hdrs = ["UfromfpTest.h"], 1257) 1258 1259math_test( 1260 name = "ufromfpf128", 1261 hdrs = ["UfromfpTest.h"], 1262) 1263 1264math_test( 1265 name = "ufromfpx", 1266 hdrs = ["UfromfpxTest.h"], 1267) 1268 1269math_test( 1270 name = "ufromfpxf", 1271 hdrs = ["UfromfpxTest.h"], 1272) 1273 1274math_test( 1275 name = "ufromfpxl", 1276 hdrs = ["UfromfpxTest.h"], 1277) 1278 1279math_test( 1280 name = "ufromfpxf128", 1281 hdrs = ["UfromfpxTest.h"], 1282) 1283