musl/include
Rich Felker b69f695ace first commit of the new libm!
thanks to the hard work of Szabolcs Nagy (nsz), identifying the best
(from correctness and license standpoint) implementations from freebsd
and openbsd and cleaning them up! musl should now fully support c99
float and long double math functions, and has near-complete complex
math support. tgmath should also work (fully on gcc-compatible
compilers, and mostly on any c99 compiler).

based largely on commit 0376d44a890fea261506f1fc63833e7a686dca19 from
nsz's libm git repo, with some additions (dummy versions of a few
missing long double complex functions, etc.) by me.

various cleanups still need to be made, including re-adding (if
they're correct) some asm functions that were dropped.
2012-03-13 01:17:53 -04:00
..
arpa fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
linux some linux headers useful from user apps. 2011-03-18 21:53:30 -04:00
net fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
netinet fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
netpacket add netpacket/packet.h 2011-06-09 21:47:24 -04:00
sys fix typo in inotify.h 2012-02-07 22:48:58 -05:00
aio.h stupid typo (caused by rather ugly spelling in POSIX..) in aio 2011-09-28 11:36:11 -04:00
alloca.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
assert.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
byteswap.h move bswap functions to static inline in byteswap.h 2011-04-12 13:04:17 -04:00
complex.h first commit of the new libm! 2012-03-13 01:17:53 -04:00
cpio.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ctype.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
dirent.h fix handling of d_name in struct dirent 2011-06-06 18:04:28 -04:00
dlfcn.h further fixup dlfcn.h 2011-06-27 01:02:28 -04:00
elf.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
endian.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
err.h support the nonstandard err.h interfaces 2011-04-05 11:16:49 -04:00
errno.h remove useless "extern" keywords in headers 2012-01-26 10:53:37 -05:00
fcntl.h fix O_SYNC definition, cleanup fcntl.h 2011-04-14 22:06:30 -04:00
features.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fenv.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
float.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fnmatch.h add some missing GNU FNM_* extensions to the header 2011-10-17 12:24:23 -04:00
ftw.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
getopt.h getopt.h is a GNU-getopt-specific header. always expose GNU functions. 2011-04-05 15:45:24 -04:00
glob.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
grp.h fix prototypes/signature for setgroups, etc. 2011-04-13 09:03:22 -04:00
iconv.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
inttypes.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
iso646.h add previously-missing ios646.h 2011-02-14 21:59:38 -05:00
langinfo.h extensive header cleanup for standards conformance & correctness 2011-02-14 18:41:25 -05:00
libgen.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
libintl.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
limits.h move all limits that don't vary out of bits/limits.h, into main limits.h 2011-06-25 15:38:00 -04:00
locale.h more header cleanup and conformance fixes - locale.h, time.h 2011-02-14 20:45:37 -05:00
malloc.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
math.h first commit of the new libm! 2012-03-13 01:17:53 -04:00
memory.h add memory.h, bogus legacy alias for string.h 2012-03-01 01:34:58 -05:00
mntent.h add profile for getmntent_r 2011-04-13 15:24:26 -04:00
mqueue.h fix incorrect include guard in mqueue.h 2011-09-20 12:14:06 -04:00
netdb.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
nl_types.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
paths.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
poll.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
pthread.h use c++-friendly initializers for pthread initializer definitions 2012-02-29 22:55:08 -05:00
pty.h fix __cplusplus extern "C" closing brace in pty.h (typo?) 2011-11-10 21:01:24 -05:00
pwd.h add fgetpwent (nonstandard function) 2012-01-29 11:54:18 -05:00
regex.h duplicate re_nsub in LSB/glibc ABI compatible location 2011-06-16 16:53:11 -04:00
resolv.h remove useless "extern" keywords in headers 2012-01-26 10:53:37 -05:00
sched.h overhaul clone syscall wrapping 2011-09-18 10:14:37 -04:00
search.h gnu search.h has struct qelem... 2011-09-21 21:01:56 -04:00
semaphore.h preliminaries to adding POSIX semaphores 2011-03-03 18:32:26 -05:00
setjmp.h major bugfix for sigset_t (it was mistakenly 1024 bytes instead of bits) 2011-02-14 18:45:58 -05:00
shadow.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
signal.h fix typo in FPE_FLTUND definition, signal.h 2012-01-25 15:30:42 -05:00
spawn.h fix various errors in function signatures/prototypes found by nsz 2011-09-13 21:09:35 -04:00
stdarg.h use compiler builtins for variadic macros when available 2011-04-27 23:41:48 -04:00
stdbool.h make stdbool.h conform to c99 2011-09-20 14:51:56 -04:00
stddef.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
stdint.h revert hacks for types of stdint.h integer constant macros 2012-02-07 12:08:27 -05:00
stdio.h add prototypes for GNU *_unlocked stdio functions 2011-09-11 22:50:02 -04:00
stdio_ext.h add and consolidate nasty stdio_ext junk 2011-06-30 12:44:48 -04:00
stdlib.h add deprecated (removed from posix) [efg]cvt() functions 2012-02-06 01:14:23 -05:00
string.h replace prototype for basename in string.h with non-prototype declaration 2012-02-24 23:23:47 -05:00
strings.h more locale_t interfaces (string stuff) and header updates 2012-02-06 21:51:02 -05:00
stropts.h fill in junk in stropts.h 2011-06-30 20:23:24 -04:00
syscall.h add <syscall.h> as an alias for <sys/syscall.h> 2012-02-29 22:36:06 -05:00
sysexits.h add sysexits.h legacy header 2011-04-05 15:40:36 -04:00
syslog.h add syslog.h cruft for syslogd to use... 2011-04-13 16:13:49 -04:00
tar.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
termios.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
tgmath.h first commit of the new libm! 2012-03-13 01:17:53 -04:00
time.h more locale_t interfaces (string stuff) and header updates 2012-02-06 21:51:02 -05:00
ucontext.h consistency: use struct __ucontext instead of ucontext_t in prototypes 2011-07-31 00:10:29 -04:00
ulimit.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
unistd.h add get_current_dir_name function 2012-02-17 23:10:00 -05:00
utime.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
utmp.h fix utmp.h mess, try 2 2012-02-01 14:10:38 -05:00
utmpx.h utmpx.h is no longer under standards, so expose ut_exit structure 2011-04-12 12:03:33 -04:00
wchar.h add all missing wchar functions except floating point parsers 2012-03-01 23:24:45 -05:00
wctype.h fix some omissions and mistakes in locale_t interface definitions 2012-02-06 21:33:40 -05:00
wordexp.h fix typo in wordexp.h (note that the function is still unimplemented) 2011-02-19 12:44:36 -05:00