Damien George
b3eadf3f3d
py/objfloat: Fix abs(-0.0) so it returns 0.0.
...
Nan and inf (signed and unsigned) are also handled correctly by using
signbit (they were also handled correctly with "val<0", but that didn't
handle -0.0 correctly). A test case is added for this behaviour.
2018-09-27 15:21:25 +10:00
..
2017-06-08 14:00:57 +10:00
2018-09-27 15:21:25 +10:00
2018-05-21 13:05:40 +10:00
2017-06-08 17:23:22 +03:00
2018-02-08 14:35:43 +11:00
2017-03-24 11:00:45 +11:00
2017-03-24 11:00:45 +11:00
2017-06-08 14:00:57 +10:00
2017-06-08 14:00:57 +10:00
2017-06-08 14:00:57 +10:00
2018-09-04 17:02:36 +10:00
2017-03-06 15:46:01 +01:00
2017-10-10 16:01:13 +11:00
2017-11-21 15:01:38 +11:00
2017-03-06 16:30:12 +01:00
2017-03-06 16:30:12 +01:00
2017-03-06 16:30:12 +01:00
2017-06-08 14:00:57 +10:00
2017-09-02 23:05:24 +03:00
2015-08-29 23:13:28 +01:00
2014-09-13 19:58:18 +01:00
2018-03-01 17:00:02 +11:00
2018-02-26 15:54:03 +11:00
2018-09-20 22:26:53 +10:00
2017-06-08 14:00:57 +10:00
2017-07-25 11:49:22 +10:00
2017-02-03 00:04:13 +11:00
2015-01-29 13:56:58 +00:00
2014-07-05 06:14:29 +01:00
2018-09-04 17:03:37 +10:00
2017-10-10 15:57:45 +11:00
2018-09-26 15:03:04 +10:00
2017-06-08 14:00:57 +10:00
2017-06-08 14:00:57 +10:00
2017-06-08 14:00:57 +10:00
2018-09-04 17:03:37 +10:00
2017-07-04 02:15:11 +10:00
2018-06-12 12:17:43 +10:00
2018-06-12 12:17:43 +10:00
2016-02-13 17:18:55 +02:00
2016-03-06 06:10:40 +02:00
2017-03-07 00:13:36 +01:00
2017-03-07 00:13:36 +01:00
2017-06-13 13:36:56 +10:00
2017-06-13 13:36:56 +10:00
2017-06-13 13:36:56 +10:00
2016-02-13 17:18:55 +02:00
2014-07-05 06:14:29 +01:00
2014-04-17 16:21:43 +01:00