Menu

Commit [r253]  Maximize  Restore  History

- For the printf() "%a" conversion the exponent now comes out as a binary

number rather than a decimal one. Now how odd is that?

- strtod() and strtof() now support "inf"/"infinity"/"nan"/"nan(..)" and
hexadecimal floating point numbers, for C99.

- Added the fpclassify(), isfinite(), isnormal() and signbit() macros for C99.

- Reimplemented isnan() and isinf() as macros for C99. The corresponding
functions will be dropped from the library. Note that the isinf() macro
does not return -1, 0 or 1 like the old function did, but only 0 or 1
depending upon whether the parameter represents +/- infinity or not.

- Added fabsf() for C99.

obarthel 2005-05-08

changed /trunk/library/GNUmakefile.68k
changed /trunk/library/GNUmakefile.os4
changed /trunk/library/changes
changed /trunk/library/include/math.h
added /trunk/library/math_fabsf.c
added /trunk/library/math_fpclassify.c
added /trunk/library/math_isfinite.c
changed /trunk/library/math_logb.c
added /trunk/library/math_nan.c
added /trunk/library/math_nanf.c
added /trunk/library/math_signbit.c
changed /trunk/library/smakefile
changed /trunk/library/stdio_vfprintf.c
changed /trunk/library/stdlib_strtod.c
changed /trunk/library/stdlib_strtof.c
/trunk/library/GNUmakefile.68k Diff Switch to side-by-side view
Loading...
/trunk/library/GNUmakefile.os4 Diff Switch to side-by-side view
Loading...
/trunk/library/changes Diff Switch to side-by-side view
Loading...
/trunk/library/include/math.h Diff Switch to side-by-side view
Loading...
/trunk/library/math_fabsf.c Diff Switch to side-by-side view
Loading...
/trunk/library/math_fpclassify.c Diff Switch to side-by-side view
Loading...
/trunk/library/math_isfinite.c Diff Switch to side-by-side view
Loading...
/trunk/library/math_logb.c Diff Switch to side-by-side view
Loading...
/trunk/library/math_nan.c Diff Switch to side-by-side view
Loading...
/trunk/library/math_nanf.c Diff Switch to side-by-side view
Loading...
/trunk/library/math_signbit.c Diff Switch to side-by-side view
Loading...
/trunk/library/smakefile Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_vfprintf.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdlib_strtod.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdlib_strtof.c Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.