Alex Prabhat Bara
a255da0c53
[libc] clean up duplicated includes in generated headers ( #124524 )
...
Fixes : #124149
2025-01-28 12:22:51 -08:00
Petr Hosek
b6e41c159b
[libc] Provide isnan, isnanf and isnanl functions ( #96008 )
...
While C99 defines type generic isnan macro, BSD provided isnan, isnanf
and isnanl in prior C standards and existing code still relies on these.
2024-07-09 21:28:51 -07:00
OverMighty
0eb9e021b1
[libc][math][c23] Add fabsf16 C23 math function ( #93567 )
...
cc @lntue
2024-05-30 15:37:15 -04:00
Nick Desaulniers
cdbec7baf1
[libc] fix up the use of angle includes in include/ ( #86027 )
...
Performed en-masse via:
$ grep -rn "#include <ll" libc/include -l | \
xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/'
$ grep -rn "#include <__" libc/include -l | \
xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/'
Link: #83463
Link: #83210
2024-03-22 08:24:08 -07:00
lntue
fbf43b0121
[libc] Only declare float128 math functions in the generated math.h if float128 type is supported. ( #81010 )
2024-02-08 20:13:27 -05:00
Siva Chandra Reddy
9edef3e93d
[libc] Move math.h and fenv.h macro definitions to llvm-libc-macros.
...
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D145475
2023-03-07 18:08:52 +00:00
Paula Toth
66d00feb18
[libc][NFC] Make all top of file comments consistent.
...
Summary:
Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers .
And did the same for all source files top of file comments.
Reviewers: sivachandra, abrachet
Reviewed By: sivachandra, abrachet
Subscribers: MaskRay, tschuett, libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D77533
2020-04-08 10:18:37 -07:00
Siva Chandra Reddy
2c080a3f23
[libc] Generate math.h instead of the static file it is currently.
...
Just enough to help a follow up patch adding cosf and sinf has been
added.
Reviewers: abrachet
Differential Revision: https://reviews.llvm.org/D76723
2020-03-24 21:17:55 -07:00