Integration of K. B. Williams's new math functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2003-09-07: * C99 header guards. - Merging math.h manually piece-wise (function by function), so OK. * fpclassifyl, isfinitel, isinfl, isnanl not integrated. - Use MartinS's instead. * nanl - go via a __dj_* like nan we added for C99? - Need to add nan*(const char *) functions. Simple wrappers that invoke strto*. * float.h: Don't put the new constants there, since they're not defined in C99. Put them in a private header instead in src/libc/c99/math. * tests/libclink: Missing checks for C99 functions? modfl * signgaml should be prefixed with underscores, so it doesn't pollute the namespace. * Fix tgen builds: gcbrtvec.cpp, gexpm1vec.cpp. - Where is xexpm1 defined? * Fix tgen builds: gcosvec.cpp, gexpvec.cpp, gsinvec.cpp. - Where is xexp2 defined? - Other x* functions appear to be missing too. - Fixed, after work on 2003-09-28. * Fix tgen builds: gtanhvec.cpp. - _nanf. * math.h, libm/math.h - Finish integrating KBW's diffs. How to make libm/math.h just a shell without any fdlibm pollution? - Sort out fdlibm.h & math.h clashes properly. 2003-09-28: * Ignore standard.results for now - we don't have a standard set of C99 FP functions yet! * Code for: cosl, erfcl, y0l, y1l, ynl? * Documentation for: jy0l, jy1l, jynl, nonesuchl, sinl, tanl? * Integrated docs, except those for functions that have not been integrated. - Changed portability info to "!ansi-c89, ansi-c99" from "ansi, posix". * modfl not integrated. - DJGPP already has modfl. * mdnorm prototype in *.h inconsistent with the one in qsqrta.c. - Is this a problem? Causes "make all" to fail in tests/cygnus/tgen/qfloat. * Warnings in tests/cygnus/tgen/qfloat: bash-2.04$ make gcc -Wall -march=pentium -O2 -c qexp2.c gcc -Wall -march=pentium -O2 -c qflt.c qflt.c: In function `e113toq': qflt.c:1771: warning: passing arg 1 of `qclear' from incompatible pointer type qflt.c:1799: warning: assignment from incompatible pointer type qflt.c:1820: warning: passing arg 1 of `shift' from incompatible pointer type qflt.c:1823: warning: passing arg 1 of `normlz' from incompatible pointer type qflt.c:1824: warning: passing arg 1 of `qclear' from incompatible pointer type qflt.c:1828: warning: passing arg 1 of `qmov' from incompatible pointer type ar -rs qfloatx.a qexp2.o qflt.o * Need to integrate changes to tests/cygnus/tgen/makefile. * Rename DblMath.[ch], FltMath.[ch], LdblTest.h to have lower-case names, to be consistent with other files in DJGPP CVS. * keepthis.h? Build broken, until I have that file. Richard Dawe 2003-09-28