Bruce Evans
daa1e39110
Fix the conversion to use nan_mix() in r336362. fmod*(x, y),
...
remainder*(x, y) and remquo*(x, y, quo) were broken for y = 0 by changing
multiplication by y to addition of y. (When y is 0, the result should be
NaN but became 1 for finite x.)
Use a new macro nan_mix_op() to give more control over the mixing, and
expand comments.
Recent re-testing missed finding this bug since I only tested the macro
version on amd64 and i386 and these arches don't use the C versions (they
use either asm versions or builtins).
Reported by: enh via freebsd-numerics
2018-07-24 10:10:16 +00:00
..
2017-10-31 00:07:04 +00:00
2018-06-30 15:03:22 +00:00
2017-11-26 02:00:33 +00:00
2018-07-23 23:04:43 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-01-24 14:24:17 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-05-01 08:03:12 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2018-07-03 08:44:40 +00:00
2017-10-31 00:07:04 +00:00
2018-07-23 17:26:38 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2017-07-11 00:32:48 +00:00
2017-11-26 02:00:33 +00:00
2017-12-27 21:36:37 +00:00
2018-07-18 21:57:04 +00:00
2018-07-01 18:58:53 +00:00
2018-07-17 23:23:54 +00:00
2017-10-31 00:07:04 +00:00
2018-06-10 02:34:41 +00:00
2018-02-02 05:04:43 +00:00
2018-07-20 07:16:28 +00:00
2017-10-31 00:07:04 +00:00
2018-01-23 22:41:13 +00:00
2017-10-31 00:07:04 +00:00
2018-02-14 23:52:39 +00:00
2018-05-31 02:58:03 +00:00
2017-11-26 02:00:33 +00:00
2018-03-29 19:43:29 +00:00
2018-06-16 20:00:41 +00:00
2017-10-31 00:07:04 +00:00
2018-01-29 22:38:23 +00:00
2018-07-12 16:19:17 +00:00
2017-10-31 00:07:04 +00:00
2018-04-27 13:59:24 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-05-29 13:07:36 +00:00
2018-03-14 20:55:28 +00:00
2017-10-31 00:03:36 +00:00
2018-01-31 21:41:42 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2017-11-26 02:00:33 +00:00
2018-07-08 23:22:04 +00:00
2018-04-23 21:10:33 +00:00
2018-03-11 19:26:34 +00:00
2018-03-21 14:37:04 +00:00
2018-05-04 20:54:27 +00:00
2017-11-26 02:00:33 +00:00
2018-07-05 13:13:48 +00:00
2017-10-31 00:07:04 +00:00
2018-05-18 06:10:16 +00:00
2018-06-27 19:29:15 +00:00
2018-07-20 07:01:28 +00:00
2018-05-11 00:01:43 +00:00
2017-10-31 00:07:04 +00:00
2017-11-26 02:00:33 +00:00
2017-11-03 21:04:22 +00:00
2017-11-26 02:00:33 +00:00
2018-01-16 21:43:21 +00:00
2017-11-08 12:34:47 +00:00
2017-10-31 00:07:04 +00:00
2018-07-16 10:57:26 +00:00
2017-12-28 01:31:28 +00:00
2018-04-04 14:31:56 +00:00
2017-10-31 00:07:04 +00:00
2018-06-27 19:29:15 +00:00
2017-10-31 19:52:30 +00:00
2018-05-30 08:24:57 +00:00
2018-07-03 15:48:34 +00:00
2018-06-15 19:19:36 +00:00
2018-05-26 19:29:19 +00:00
2018-07-21 22:15:48 +00:00
2018-05-28 02:10:35 +00:00
2017-11-26 02:00:33 +00:00
2018-01-29 14:00:33 +00:00
2017-11-26 02:00:33 +00:00
2017-11-18 14:26:50 +00:00
2017-10-31 00:07:04 +00:00
2017-11-26 02:00:33 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2018-04-30 10:15:58 +00:00
2017-10-31 00:07:04 +00:00
2018-05-08 06:09:49 +00:00
2017-11-26 02:00:33 +00:00
2017-11-26 02:00:33 +00:00
2018-05-01 16:30:48 +00:00
2017-11-26 02:00:33 +00:00
2017-07-31 19:07:45 +00:00
2018-06-16 17:11:23 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2018-04-17 09:05:46 +00:00
2018-07-03 23:47:20 +00:00
2017-11-26 02:00:33 +00:00
2018-05-12 14:36:58 +00:00
2018-06-26 16:00:16 +00:00
2017-11-26 02:00:33 +00:00
2018-07-05 22:56:13 +00:00
2018-06-20 00:55:18 +00:00
2017-11-26 02:00:33 +00:00
2018-06-14 01:28:55 +00:00
2017-10-31 00:07:04 +00:00
2018-05-23 01:20:31 +00:00
2018-06-17 18:05:27 +00:00
2017-11-26 02:00:33 +00:00
2018-05-10 06:41:08 +00:00
2018-03-18 03:42:57 +00:00
2018-07-24 10:10:16 +00:00
2018-06-27 19:29:15 +00:00
2018-07-20 23:49:57 +00:00
2018-07-17 23:23:54 +00:00