diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2012-05-10 15:11:55 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2012-05-10 15:11:55 -0500 |
commit | 89c9aa491a7cee97bf78a29cddbf0a25c902a671 (patch) | |
tree | a03f7f7a4864421a67c1f4ba3c4ad74090cc0e63 /NEWS | |
parent | 021db4be6f1f4189f66feee066a495d49e92b93e (diff) | |
download | glibc-89c9aa491a7cee97bf78a29cddbf0a25c902a671.tar.gz glibc-89c9aa491a7cee97bf78a29cddbf0a25c902a671.tar.xz glibc-89c9aa491a7cee97bf78a29cddbf0a25c902a671.zip |
Fix for logb/logbf/logbl (bugs 13954/13955/13956)
POSIX 2008 states that if the input for 'logb[f|l]' is a subnormal number it should be treated as if it were normalized. This means the implementation should calculate the log2 of the mantissa and add it to the subnormal exponent (-126 for float and -1022 for double and IBM long double). This patch takes care of that.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS index 5c90f3da28..b3a1233482 100644 --- a/NEWS +++ b/NEWS @@ -23,8 +23,9 @@ Version 2.16 13852, 13854, 13871, 13872, 13873, 13879, 13883, 13884, 13885, 13886, 13892, 13895, 13908, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13926, 13927, - 13928, 13938, 13941, 13942, 13963, 13967, 13970, 13973, 13979, 13983, - 14027, 14033, 14034, 14040, 14049, 14053, 14055, 14064, 14080, 14083 + 13928, 13938, 13941, 13942, 13954, 13955, 13956, 13963, 13967, 13970, + 13973, 13979, 13983, 14027, 14033, 14034, 14040, 14049, 14053, 14055, + 14064, 14080, 14083 * ISO C11 support: |