about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2018-06-13 15:07:21 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2018-07-02 09:29:04 +0100
commit2b445206a1a450af0e6e66d78652e1ffd80685e2 (patch)
tree9858d5428a8949fe5b580624cf6aa29c2e1fcf24 /ChangeLog
parent2827ab990aefbb0e53374199b875d98f116d6390 (diff)
downloadglibc-2b445206a1a450af0e6e66d78652e1ffd80685e2.tar.gz
glibc-2b445206a1a450af0e6e66d78652e1ffd80685e2.tar.xz
glibc-2b445206a1a450af0e6e66d78652e1ffd80685e2.zip
Use uint32_t sign in single precision math error handling functions
Ideally sign should be bool, but sometimes (e.g. in powf) it's more
efficient to pass a non-zero value than 1 to indicate that the sign
should be set.  The fixed size int is less ambigous than unsigned
long.

	* sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
	(exp2f_inline): Likewise.
	* sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
	(__math_uflowf): Likewise.
	(__math_may_uflowf): Likewise.
	(__math_divzerof): Likewise.
	(__math_invalidf): Likewise.
	* sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
	(__math_oflowf): Likewise.
	(__math_uflowf): Likewise.
	(__math_may_uflowf): Likewise.
	(__math_divzerof): Likewise.
	(__math_invalidf): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3371a9b670..5054985310 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2018-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+	* sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
+	(exp2f_inline): Likewise.
+	* sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
+	(__math_uflowf): Likewise.
+	(__math_may_uflowf): Likewise.
+	(__math_divzerof): Likewise.
+	(__math_invalidf): Likewise.
+	* sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
+	(__math_oflowf): Likewise.
+	(__math_uflowf): Likewise.
+	(__math_may_uflowf): Likewise.
+	(__math_divzerof): Likewise.
+	(__math_invalidf): Likewise.
+
 2018-06-29  DJ Delorie  <dj@redhat.com>
 	    Carlos O'Donell  <carlos@redhat.com>