From 29311370cd23623cc227a67c54ae3bdd0f7d7058 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 11 Nov 2004 22:31:17 +0000 Subject: [BZ #535] 2004-11-09 Paul Eggert since it is marked as an obsolescent interface. Include , , and instead. (TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros. (subtract): New static function, that works correctly without double-rounding, even on hosts with 64-bit time_t. Also cater to hosts with padding bits. (__difftime): Use it. Use DBL_MANT_DIG and LDBL_MANT_DIG to determine whether floating types are wide enough: the old test (which used sizeof) could in theory report the wrong results on hosts with padding bits in floating-point values. --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index c89325aaee..3bf7a3e31c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2004-11-09 Paul Eggert since it is marked as an obsolescent + interface. Include , , and instead. + (TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros. + (subtract): New static function, that works correctly without + double-rounding, even on hosts with 64-bit time_t. Also cater + to hosts with padding bits. + (__difftime): Use it. Use DBL_MANT_DIG and LDBL_MANT_DIG to + determine whether floating types are wide enough: the old + test (which used sizeof) could in theory report the wrong results + on hosts with padding bits in floating-point values. + 2004-11-11 Simon Josefsson [BZ #542] -- cgit 1.4.1