[libc] Add ciel, frexpr implementations

The clang __builtin_* functions cannot be relied upon, as they may just
emit a call to the stdlib version. So this commit adds an implementation
for ceil and frexpr, as well as their float versions.
This commit is contained in:
Justin C. Miller
2023-01-12 21:51:36 -08:00
parent 372bc1d2e6
commit 8c1bb593ce
8 changed files with 84 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
#include <assert.h>
extern "C"
long double frexpl(long double f, int *exp) { assert(false && "NYI"); *exp = 0; return 0; }