This change does not handle any extensions. Only the C standard
variations are handled.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D79150
[libc] Add definitions of double_t and float_t to math.h. ClosedPublic Authored by sivachandra on Apr 29 2020, 4:44 PM.
Details Summary This change does not handle any extensions. Only the C standard
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Apr 30 2020, 11:19 AM Closed by commit rG245cbd15a49e: [libc] Add definitions of double_t and float_t to math.h. (authored by sivachandra). · Explain WhyApr 30 2020, 12:21 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 261316 libc/config/linux/api.td
libc/include/CMakeLists.txt
libc/include/__llvm-libc-stdc-types.h
|
Is it better to do #define __LLVM_LIBC_FLOAT_T float and then typdef __LLVM_LIBC_FLOAT_T float_t bellow? That also somewhat mirrors what we do in __posix_types.h with __INT64_TYPE__