1
0
mirror of https://github.com/adtools/clib2.git synced 2026-05-05 12:33:49 +00:00

- Added isunordered(), isgreater(), isgreaterequal(), isless(),

islessequal() and islessgreater() to <math.h> for C99.

- The wchar_t type is now an 'unsigned short' integer (16 bits wide).

- Added PTRDIFF_MIN/PTRDIFF_MAX, WCHAR_MIN/WCHAR_MAX and
  WINT_MIN/WINT_MAX to <stdint.h> for C99.

- Added imaxdiv() and imaxabs() for C99.

- Added strtoimax() and strtoumax() for C99.

- Added nextafter() and nextafterf() for C99.

- Added copysign() and copysignf() for C99.

- Unless I missed something, clib2 should now be functionally complete
  with regard to C99, except for the floating point operations covered.
  These are a major challenge all by themselves, and I wonder both
  whether they are worth the effort and how one could implement them
  correctly.

- fflush() now consistently supports a NULL parameter, causing all
  streams to be flushed for which this behaviour is defined.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14943 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-05-12 13:21:47 +00:00
parent bc65dd2877
commit 539cc3553d
33 changed files with 1586 additions and 145 deletions

View File

@@ -1,5 +1,5 @@
#
# $Id: GNUmakefile.os4,v 1.56 2005-05-11 20:15:25 obarthel Exp $
# $Id: GNUmakefile.os4,v 1.57 2005-05-12 13:21:43 obarthel Exp $
#
# :ts=8
#
@@ -154,6 +154,10 @@ C_LIB = \
fcntl_write.o \
ftw_ftw.o \
ftw_nftw.o \
inttypes_imaxdiv.o \
inttypes_imaxabs.o \
inttypes_strtoimax.o \
inttypes_strtoumax.o \
libgen_basename.o \
libgen_dirname.o \
locale_init_exit.o \
@@ -522,6 +526,8 @@ MATH_LIB = \
math_ceil.o \
math_cos.o \
math_cosh.o \
math_copysign.o \
math_copysignf.o \
math_exp.o \
math_fabs.o \
math_fabsf.o \
@@ -529,6 +535,7 @@ MATH_LIB = \
math_fmod.o \
math_fpclassify.o \
math_isfinite.o \
math_isunordered.o \
math_signbit.o \
math_frexp.o \
math_huge_val.o \
@@ -542,6 +549,8 @@ MATH_LIB = \
math_modf.o \
math_nan.o \
math_nanf.o \
math_nextafter.o \
math_nextafterf.o \
math_pow.o \
math_rint.o \
math_rintf.o \