1add_entrypoint_object( 2 ceil 3 SRCS 4 ceil.cpp 5 HDRS 6 ../ceil.h 7 DEPENDS 8 libc.src.__support.FPUtil.fputil 9 COMPILE_OPTIONS 10 -O2 11) 12 13add_entrypoint_object( 14 ceilf 15 SRCS 16 ceilf.cpp 17 HDRS 18 ../ceilf.h 19 DEPENDS 20 libc.src.__support.FPUtil.fputil 21 COMPILE_OPTIONS 22 -O2 23) 24 25add_entrypoint_object( 26 ceill 27 SRCS 28 ceill.cpp 29 HDRS 30 ../ceill.h 31 DEPENDS 32 libc.src.__support.FPUtil.fputil 33 COMPILE_OPTIONS 34 -O2 35) 36 37add_object_library( 38 math_utils 39 SRCS 40 math_utils.cpp 41 HDRS 42 math_utils.h 43 DEPENDS 44 libc.include.errno 45 libc.include.math 46 libc.src.errno.__errno_location 47) 48 49add_object_library( 50 sincosf_utils 51 HDRS 52 sincosf_utils.h 53 SRCS 54 sincosf_data.cpp 55 DEPENDS 56 .math_utils 57) 58 59add_entrypoint_object( 60 cosf 61 SRCS 62 cosf.cpp 63 HDRS 64 ../cosf.h 65 DEPENDS 66 .sincosf_utils 67 libc.include.math 68 libc.src.errno.__errno_location 69 COMPILE_OPTIONS 70 -O3 71) 72 73add_entrypoint_object( 74 sinf 75 SRCS 76 sinf.cpp 77 HDRS 78 ../sinf.h 79 DEPENDS 80 .sincosf_utils 81 libc.include.math 82 libc.src.errno.__errno_location 83 libc.src.__support.FPUtil.fputil 84 COMPILE_OPTIONS 85 -O3 86) 87 88add_entrypoint_object( 89 sincosf 90 SRCS 91 sincosf.cpp 92 HDRS 93 ../sincosf.h 94 DEPENDS 95 .sincosf_utils 96 libc.include.math 97 libc.src.errno.__errno_location 98 COMPILE_OPTIONS 99 -O3 100) 101 102add_entrypoint_object( 103 fabs 104 SRCS 105 fabs.cpp 106 HDRS 107 ../fabs.h 108 DEPENDS 109 libc.src.__support.FPUtil.fputil 110 COMPILE_OPTIONS 111 -O2 112) 113 114add_entrypoint_object( 115 fabsf 116 SRCS 117 fabsf.cpp 118 HDRS 119 ../fabsf.h 120 DEPENDS 121 libc.src.__support.FPUtil.fputil 122 COMPILE_OPTIONS 123 -O2 124) 125 126add_entrypoint_object( 127 fabsl 128 SRCS 129 fabsl.cpp 130 HDRS 131 ../fabsl.h 132 DEPENDS 133 libc.src.__support.FPUtil.fputil 134 COMPILE_OPTIONS 135 -O2 136) 137 138add_entrypoint_object( 139 trunc 140 SRCS 141 trunc.cpp 142 HDRS 143 ../trunc.h 144 DEPENDS 145 libc.src.__support.FPUtil.fputil 146 COMPILE_OPTIONS 147 -O2 148) 149 150add_entrypoint_object( 151 truncf 152 SRCS 153 truncf.cpp 154 HDRS 155 ../truncf.h 156 DEPENDS 157 libc.src.__support.FPUtil.fputil 158 COMPILE_OPTIONS 159 -O2 160) 161 162add_entrypoint_object( 163 truncl 164 SRCS 165 truncl.cpp 166 HDRS 167 ../truncl.h 168 DEPENDS 169 libc.src.__support.FPUtil.fputil 170 COMPILE_OPTIONS 171 -O2 172) 173 174add_entrypoint_object( 175 floor 176 SRCS 177 floor.cpp 178 HDRS 179 ../floor.h 180 DEPENDS 181 libc.src.__support.FPUtil.fputil 182 COMPILE_OPTIONS 183 -O2 184) 185 186add_entrypoint_object( 187 floorf 188 SRCS 189 floorf.cpp 190 HDRS 191 ../floorf.h 192 DEPENDS 193 libc.src.__support.FPUtil.fputil 194 COMPILE_OPTIONS 195 -O2 196) 197 198add_entrypoint_object( 199 floorl 200 SRCS 201 floorl.cpp 202 HDRS 203 ../floorl.h 204 DEPENDS 205 libc.src.__support.FPUtil.fputil 206 COMPILE_OPTIONS 207 -O2 208) 209 210add_entrypoint_object( 211 round 212 SRCS 213 round.cpp 214 HDRS 215 ../round.h 216 DEPENDS 217 libc.src.__support.FPUtil.fputil 218 COMPILE_OPTIONS 219 -O2 220) 221 222add_entrypoint_object( 223 roundf 224 SRCS 225 roundf.cpp 226 HDRS 227 ../roundf.h 228 DEPENDS 229 libc.src.__support.FPUtil.fputil 230 COMPILE_OPTIONS 231 -O2 232) 233 234add_entrypoint_object( 235 roundl 236 SRCS 237 roundl.cpp 238 HDRS 239 ../roundl.h 240 DEPENDS 241 libc.src.__support.FPUtil.fputil 242 COMPILE_OPTIONS 243 -O2 244) 245 246add_entrypoint_object( 247 lround 248 SRCS 249 lround.cpp 250 HDRS 251 ../lround.h 252 DEPENDS 253 libc.src.__support.FPUtil.fputil 254 COMPILE_OPTIONS 255 -O2 256) 257 258add_entrypoint_object( 259 lroundf 260 SRCS 261 lroundf.cpp 262 HDRS 263 ../lroundf.h 264 DEPENDS 265 libc.src.__support.FPUtil.fputil 266 COMPILE_OPTIONS 267 -O2 268) 269 270add_entrypoint_object( 271 lroundl 272 SRCS 273 lroundl.cpp 274 HDRS 275 ../lroundl.h 276 DEPENDS 277 libc.src.__support.FPUtil.fputil 278 COMPILE_OPTIONS 279 -O2 280) 281 282add_entrypoint_object( 283 llround 284 SRCS 285 llround.cpp 286 HDRS 287 ../llround.h 288 DEPENDS 289 libc.src.__support.FPUtil.fputil 290 COMPILE_OPTIONS 291 -O2 292) 293 294add_entrypoint_object( 295 llroundf 296 SRCS 297 llroundf.cpp 298 HDRS 299 ../llroundf.h 300 DEPENDS 301 libc.src.__support.FPUtil.fputil 302 COMPILE_OPTIONS 303 -O2 304) 305 306add_entrypoint_object( 307 llroundl 308 SRCS 309 llroundl.cpp 310 HDRS 311 ../llroundl.h 312 DEPENDS 313 libc.src.__support.FPUtil.fputil 314 COMPILE_OPTIONS 315 -O2 316) 317 318add_entrypoint_object( 319 rint 320 SRCS 321 rint.cpp 322 HDRS 323 ../rint.h 324 DEPENDS 325 libc.src.__support.FPUtil.fputil 326 COMPILE_OPTIONS 327 -O2 328) 329 330add_entrypoint_object( 331 rintf 332 SRCS 333 rintf.cpp 334 HDRS 335 ../rintf.h 336 DEPENDS 337 libc.src.__support.FPUtil.fputil 338 COMPILE_OPTIONS 339 -O2 340) 341 342add_entrypoint_object( 343 rintl 344 SRCS 345 rintl.cpp 346 HDRS 347 ../rintl.h 348 DEPENDS 349 libc.src.__support.FPUtil.fputil 350 COMPILE_OPTIONS 351 -O2 352) 353 354add_entrypoint_object( 355 lrint 356 SRCS 357 lrint.cpp 358 HDRS 359 ../lrint.h 360 DEPENDS 361 libc.src.__support.FPUtil.fputil 362 COMPILE_OPTIONS 363 -O2 364) 365 366add_entrypoint_object( 367 lrintf 368 SRCS 369 lrintf.cpp 370 HDRS 371 ../lrintf.h 372 DEPENDS 373 libc.src.__support.FPUtil.fputil 374 COMPILE_OPTIONS 375 -O2 376) 377 378add_entrypoint_object( 379 lrintl 380 SRCS 381 lrintl.cpp 382 HDRS 383 ../lrintl.h 384 DEPENDS 385 libc.src.__support.FPUtil.fputil 386 COMPILE_OPTIONS 387 -O2 388) 389 390add_entrypoint_object( 391 llrint 392 SRCS 393 llrint.cpp 394 HDRS 395 ../llrint.h 396 DEPENDS 397 libc.src.__support.FPUtil.fputil 398 COMPILE_OPTIONS 399 -O2 400) 401 402add_entrypoint_object( 403 llrintf 404 SRCS 405 llrintf.cpp 406 HDRS 407 ../llrintf.h 408 DEPENDS 409 libc.src.__support.FPUtil.fputil 410 COMPILE_OPTIONS 411 -O2 412) 413 414add_entrypoint_object( 415 llrintl 416 SRCS 417 llrintl.cpp 418 HDRS 419 ../llrintl.h 420 DEPENDS 421 libc.src.__support.FPUtil.fputil 422 COMPILE_OPTIONS 423 -O2 424) 425 426add_entrypoint_object( 427 nearbyint 428 SRCS 429 nearbyint.cpp 430 HDRS 431 ../nearbyint.h 432 DEPENDS 433 libc.src.__support.FPUtil.fputil 434 COMPILE_OPTIONS 435 -O2 436) 437 438add_entrypoint_object( 439 nearbyintf 440 SRCS 441 nearbyintf.cpp 442 HDRS 443 ../nearbyintf.h 444 DEPENDS 445 libc.src.__support.FPUtil.fputil 446 COMPILE_OPTIONS 447 -O2 448) 449 450add_entrypoint_object( 451 nearbyintl 452 SRCS 453 nearbyintl.cpp 454 HDRS 455 ../nearbyintl.h 456 DEPENDS 457 libc.src.__support.FPUtil.fputil 458 COMPILE_OPTIONS 459 -O2 460) 461 462add_object_library( 463 exp_utils 464 HDRS 465 exp_utils.h 466 SRCS 467 exp_utils.cpp 468 DEPENDS 469 .math_utils 470) 471 472add_entrypoint_object( 473 expf 474 SRCS 475 expf.cpp 476 HDRS 477 ../expf.h 478 DEPENDS 479 .exp_utils 480 .math_utils 481 libc.include.math 482) 483 484add_entrypoint_object( 485 exp2f 486 SRCS 487 exp2f.cpp 488 HDRS 489 ../exp2f.h 490 DEPENDS 491 .exp_utils 492 .math_utils 493 libc.include.math 494) 495 496add_entrypoint_object( 497 expm1f 498 SRCS 499 expm1f.cpp 500 HDRS 501 ../expm1f.h 502 DEPENDS 503 libc.include.math 504 libc.src.math.expf 505 libc.src.math.fabsf 506) 507 508add_entrypoint_object( 509 copysign 510 SRCS 511 copysign.cpp 512 HDRS 513 ../copysign.h 514 DEPENDS 515 libc.src.__support.FPUtil.fputil 516 COMPILE_OPTIONS 517 -O2 518) 519 520add_entrypoint_object( 521 copysignf 522 SRCS 523 copysignf.cpp 524 HDRS 525 ../copysignf.h 526 DEPENDS 527 libc.src.__support.FPUtil.fputil 528 COMPILE_OPTIONS 529 -O2 530) 531 532add_entrypoint_object( 533 copysignl 534 SRCS 535 copysignl.cpp 536 HDRS 537 ../copysignl.h 538 DEPENDS 539 libc.src.__support.FPUtil.fputil 540 COMPILE_OPTIONS 541 -O2 542) 543 544add_entrypoint_object( 545 frexp 546 SRCS 547 frexp.cpp 548 HDRS 549 ../frexp.h 550 DEPENDS 551 libc.src.__support.FPUtil.fputil 552 COMPILE_OPTIONS 553 -O2 554) 555 556add_entrypoint_object( 557 frexpf 558 SRCS 559 frexpf.cpp 560 HDRS 561 ../frexpf.h 562 DEPENDS 563 libc.src.__support.FPUtil.fputil 564 COMPILE_OPTIONS 565 -O2 566) 567 568add_entrypoint_object( 569 frexpl 570 SRCS 571 frexpl.cpp 572 HDRS 573 ../frexpl.h 574 DEPENDS 575 libc.src.__support.FPUtil.fputil 576 COMPILE_OPTIONS 577 -O2 578) 579 580add_entrypoint_object( 581 ilogb 582 SRCS 583 ilogb.cpp 584 HDRS 585 ../ilogb.h 586 DEPENDS 587 libc.src.__support.FPUtil.fputil 588 COMPILE_OPTIONS 589 -O2 590) 591 592add_entrypoint_object( 593 ilogbf 594 SRCS 595 ilogbf.cpp 596 HDRS 597 ../ilogbf.h 598 DEPENDS 599 libc.src.__support.FPUtil.fputil 600 COMPILE_OPTIONS 601 -O2 602) 603 604add_entrypoint_object( 605 ilogbl 606 SRCS 607 ilogbl.cpp 608 HDRS 609 ../ilogbl.h 610 DEPENDS 611 libc.src.__support.FPUtil.fputil 612 COMPILE_OPTIONS 613 -O2 614) 615 616add_entrypoint_object( 617 ldexp 618 SRCS 619 ldexp.cpp 620 HDRS 621 ../ldexp.h 622 DEPENDS 623 libc.src.__support.FPUtil.fputil 624 COMPILE_OPTIONS 625 -O2 626) 627 628add_entrypoint_object( 629 ldexpf 630 SRCS 631 ldexpf.cpp 632 HDRS 633 ../ldexpf.h 634 DEPENDS 635 libc.src.__support.FPUtil.fputil 636 COMPILE_OPTIONS 637 -O2 638) 639 640add_entrypoint_object( 641 ldexpl 642 SRCS 643 ldexpl.cpp 644 HDRS 645 ../ldexpl.h 646 DEPENDS 647 libc.src.__support.FPUtil.fputil 648 COMPILE_OPTIONS 649 -O2 650) 651 652add_object_library( 653 common_constants 654 HDRS 655 common_constants.h 656 SRCS 657 common_constants.cpp 658) 659 660add_entrypoint_object( 661 log10f 662 SRCS 663 log10f.cpp 664 HDRS 665 ../log10f.h 666 DEPENDS 667 .common_constants 668 libc.src.__support.FPUtil.fputil 669 COMPILE_OPTIONS 670 -O3 671) 672 673add_entrypoint_object( 674 log1pf 675 SRCS 676 log1pf.cpp 677 HDRS 678 ../log1pf.h 679 DEPENDS 680 .common_constants 681 libc.src.__support.FPUtil.fputil 682 COMPILE_OPTIONS 683 -O3 684) 685 686add_entrypoint_object( 687 log2f 688 SRCS 689 log2f.cpp 690 HDRS 691 ../log2f.h 692 DEPENDS 693 .common_constants 694 libc.src.__support.FPUtil.fputil 695 COMPILE_OPTIONS 696 -O3 697) 698 699add_entrypoint_object( 700 logf 701 SRCS 702 logf.cpp 703 HDRS 704 ../logf.h 705 DEPENDS 706 .common_constants 707 libc.src.__support.FPUtil.fputil 708 COMPILE_OPTIONS 709 -O3 710) 711 712add_entrypoint_object( 713 logb 714 SRCS 715 logb.cpp 716 HDRS 717 ../logb.h 718 DEPENDS 719 libc.src.__support.FPUtil.fputil 720 COMPILE_OPTIONS 721 -O2 722) 723 724add_entrypoint_object( 725 logbf 726 SRCS 727 logbf.cpp 728 HDRS 729 ../logbf.h 730 DEPENDS 731 libc.src.__support.FPUtil.fputil 732 COMPILE_OPTIONS 733 -O2 734) 735 736add_entrypoint_object( 737 logbl 738 SRCS 739 logbl.cpp 740 HDRS 741 ../logbl.h 742 DEPENDS 743 libc.src.__support.FPUtil.fputil 744 COMPILE_OPTIONS 745 -O2 746) 747 748add_entrypoint_object( 749 modf 750 SRCS 751 modf.cpp 752 HDRS 753 ../modf.h 754 DEPENDS 755 libc.src.__support.FPUtil.fputil 756 COMPILE_OPTIONS 757 -O2 758) 759 760add_entrypoint_object( 761 modff 762 SRCS 763 modff.cpp 764 HDRS 765 ../modff.h 766 DEPENDS 767 libc.src.__support.FPUtil.fputil 768 COMPILE_OPTIONS 769 -O2 770) 771 772add_entrypoint_object( 773 modfl 774 SRCS 775 modfl.cpp 776 HDRS 777 ../modfl.h 778 DEPENDS 779 libc.src.__support.FPUtil.fputil 780 COMPILE_OPTIONS 781 -O2 782) 783 784add_entrypoint_object( 785 fmin 786 SRCS 787 fmin.cpp 788 HDRS 789 ../fmin.h 790 DEPENDS 791 libc.src.__support.FPUtil.fputil 792 COMPILE_OPTIONS 793 -O2 794) 795 796add_entrypoint_object( 797 fminf 798 SRCS 799 fminf.cpp 800 HDRS 801 ../fminf.h 802 DEPENDS 803 libc.src.__support.FPUtil.fputil 804 COMPILE_OPTIONS 805 -O2 806) 807 808add_entrypoint_object( 809 fminl 810 SRCS 811 fminl.cpp 812 HDRS 813 ../fminl.h 814 DEPENDS 815 libc.src.__support.FPUtil.fputil 816 COMPILE_OPTIONS 817 -O2 818) 819 820add_entrypoint_object( 821 fmax 822 SRCS 823 fmax.cpp 824 HDRS 825 ../fmax.h 826 DEPENDS 827 libc.src.__support.FPUtil.fputil 828 COMPILE_OPTIONS 829 -O2 830) 831 832add_entrypoint_object( 833 fmaxf 834 SRCS 835 fmaxf.cpp 836 HDRS 837 ../fmaxf.h 838 DEPENDS 839 libc.src.__support.FPUtil.fputil 840 COMPILE_OPTIONS 841 -O2 842) 843 844add_entrypoint_object( 845 fmaxl 846 SRCS 847 fmaxl.cpp 848 HDRS 849 ../fmaxl.h 850 DEPENDS 851 libc.src.__support.FPUtil.fputil 852 COMPILE_OPTIONS 853 -O2 854) 855 856add_entrypoint_object( 857 sqrt 858 SRCS 859 sqrt.cpp 860 HDRS 861 ../sqrt.h 862 DEPENDS 863 libc.src.__support.FPUtil.fputil 864 libc.src.__support.FPUtil.sqrt 865 COMPILE_OPTIONS 866 -O3 867) 868 869add_entrypoint_object( 870 sqrtf 871 SRCS 872 sqrtf.cpp 873 HDRS 874 ../sqrtf.h 875 DEPENDS 876 libc.src.__support.FPUtil.fputil 877 libc.src.__support.FPUtil.sqrt 878 COMPILE_OPTIONS 879 -O3 880) 881 882add_entrypoint_object( 883 sqrtl 884 SRCS 885 sqrtl.cpp 886 HDRS 887 ../sqrtl.h 888 DEPENDS 889 libc.src.__support.FPUtil.fputil 890 libc.src.__support.FPUtil.sqrt 891 COMPILE_OPTIONS 892 -O3 893) 894 895add_entrypoint_object( 896 remquof 897 SRCS 898 remquof.cpp 899 HDRS 900 ../remquof.h 901 DEPENDS 902 libc.src.__support.FPUtil.fputil 903 COMPILE_OPTIONS 904 -O2 905) 906 907add_entrypoint_object( 908 remquo 909 SRCS 910 remquo.cpp 911 HDRS 912 ../remquo.h 913 DEPENDS 914 libc.src.__support.FPUtil.fputil 915 COMPILE_OPTIONS 916 -O2 917) 918 919add_entrypoint_object( 920 remquol 921 SRCS 922 remquol.cpp 923 HDRS 924 ../remquol.h 925 DEPENDS 926 libc.src.__support.FPUtil.fputil 927 COMPILE_OPTIONS 928 -O2 929) 930 931add_entrypoint_object( 932 remainderf 933 SRCS 934 remainderf.cpp 935 HDRS 936 ../remainderf.h 937 DEPENDS 938 libc.src.__support.FPUtil.fputil 939 COMPILE_OPTIONS 940 -O2 941) 942 943add_entrypoint_object( 944 remainder 945 SRCS 946 remainder.cpp 947 HDRS 948 ../remainder.h 949 DEPENDS 950 libc.src.__support.FPUtil.fputil 951 COMPILE_OPTIONS 952 -O2 953) 954 955add_entrypoint_object( 956 remainderl 957 SRCS 958 remainderl.cpp 959 HDRS 960 ../remainderl.h 961 DEPENDS 962 libc.src.__support.FPUtil.fputil 963 COMPILE_OPTIONS 964 -O2 965) 966 967add_entrypoint_object( 968 hypotf 969 SRCS 970 hypotf.cpp 971 HDRS 972 ../hypotf.h 973 DEPENDS 974 libc.src.__support.FPUtil.fputil 975 COMPILE_OPTIONS 976 -O3 977) 978 979add_entrypoint_object( 980 fdim 981 SRCS 982 fdim.cpp 983 HDRS 984 ../fdim.h 985 DEPENDS 986 libc.src.__support.FPUtil.fputil 987 COMPILE_OPTIONS 988 -O2 989) 990 991add_entrypoint_object( 992 fdimf 993 SRCS 994 fdimf.cpp 995 HDRS 996 ../fdimf.h 997 DEPENDS 998 libc.src.__support.FPUtil.fputil 999 COMPILE_OPTIONS 1000 -O2 1001) 1002 1003add_entrypoint_object( 1004 fdiml 1005 SRCS 1006 fdiml.cpp 1007 HDRS 1008 ../fdiml.h 1009 DEPENDS 1010 libc.src.__support.FPUtil.fputil 1011 COMPILE_OPTIONS 1012 -O2 1013) 1014 1015add_entrypoint_object( 1016 hypot 1017 SRCS 1018 hypot.cpp 1019 HDRS 1020 ../hypot.h 1021 DEPENDS 1022 libc.src.__support.FPUtil.fputil 1023 COMPILE_OPTIONS 1024 -O3 1025) 1026 1027add_entrypoint_object( 1028 nextafter 1029 SRCS 1030 nextafter.cpp 1031 HDRS 1032 ../nextafter.h 1033 DEPENDS 1034 libc.src.__support.FPUtil.fputil 1035 COMPILE_OPTIONS 1036 -O2 1037) 1038 1039add_entrypoint_object( 1040 nextafterf 1041 SRCS 1042 nextafterf.cpp 1043 HDRS 1044 ../nextafterf.h 1045 DEPENDS 1046 libc.src.__support.FPUtil.fputil 1047 COMPILE_OPTIONS 1048 -O2 1049) 1050 1051add_entrypoint_object( 1052 nextafterl 1053 SRCS 1054 nextafterl.cpp 1055 HDRS 1056 ../nextafterl.h 1057 DEPENDS 1058 libc.src.__support.FPUtil.fputil 1059 COMPILE_OPTIONS 1060 -O2 1061) 1062 1063add_object_library( 1064 dp_trig 1065 SRCS 1066 dp_trig.cpp 1067 HDRS 1068 dp_trig.h 1069 DEPENDS 1070 libc.src.__support.FPUtil.fputil 1071 COMPILE_OPTIONS 1072 -O3 1073) 1074