4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-08 18:19:08 +08:00
Keith Packard d128bb40be libm/math: Use __math_xflow in obsolete math code [v2]
C compilers may fold const values at compile time, so expressions
which try to elicit underflow/overflow by performing simple
arithemetic on suitable values will not generate the required
exceptions.

Work around this by replacing code which does these arithmetic
operations with calls to the existing __math_xflow functions that are
designed to do this correctly.

Signed-off-by: Keith Packard <keithp@keithp.com>

----

v2:
	libm/math: Pass sign to __math_xflow instead of muliplying result
2020-10-14 10:54:25 -04:00
..
2017-12-01 03:41:53 -06:00
2018-10-10 17:49:53 +02:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2020-10-14 10:53:55 -04:00
2020-10-14 10:54:14 -04:00
2000-02-17 19:39:52 +00:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:53 -06:00
2018-01-17 11:47:26 -06:00
2020-10-14 10:53:55 -04:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2002-06-07 21:59:57 +00:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2020-10-14 10:53:55 -04:00
2020-10-14 10:54:14 -04:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2009-04-16 15:39:46 +00:00
2002-06-07 21:59:57 +00:00
2020-10-14 10:54:14 -04:00
2016-03-26 20:29:20 +01:00
2018-08-08 10:50:19 +02:00