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