4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 12:59:21 +08:00
Szabolcs Nagy 2805b07fa1 Fix large ulp error in pow without fma very near 1.0
The !HAVE_FAST_FMA code path split r = z/c - 1 into r = rhi + rlo such
that when z = 1-tiny and c = 1 then rlo and rhi could have much larger
magnitude than r which later caused large rounding errors.

So do a nearest rounding instead of truncation at the split.

In newlib with default settings this was observable on some arm targets
that enable the new math code but has no fma.
2018-07-06 10:29:01 +02:00
..
2018-06-27 15:40:49 +02:00
2018-06-27 15:40:49 +02:00
2017-12-01 03:41:53 -06:00
2018-07-06 10:29:01 +02:00
2018-07-06 10:29:01 +02:00
2018-06-27 15:40:49 +02:00
2018-06-27 15:40:49 +02:00
2018-06-27 15:40:49 +02:00
2018-06-27 15:40:49 +02: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
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
2017-12-01 03:41:53 -06:00
2018-06-27 15:40:49 +02: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
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
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
2002-06-07 21:59:57 +00:00
2016-03-26 20:29:20 +01:00