Morten Bek Ditlevsen
a5a68ca25d
Fix negation of 0 length Decimal ( #15986 )
...
A Decimal value with _length 0 and _isNegative set to 1 is interpreted as a NaN. The 'negate()' function however, flipped the _isNegative flag without regard for the _length 0 case. This meant that -0 would become NaN. The fix checks for the _length 0 special case. In NSDecimalSubtract() the same check was performed. Since this now happens in negate(), it is removed from the NSDecimalSubtract() function.
2018-04-18 10:18:34 -07:00
..
2017-12-01 09:00:49 +09:00
2017-03-31 11:06:38 -07:00
2018-04-04 19:29:42 +09:00
2018-03-14 14:06:31 +09:00
2018-02-03 09:43:00 +13:00
2017-11-06 14:03:48 -08:00
2017-07-19 16:43:55 -07:00
2018-04-12 09:53:34 -07:00
2018-02-08 11:42:40 -08:00
2018-03-14 14:06:31 +09:00
2018-03-25 19:47:50 -07:00
2018-03-20 21:35:58 +09:00
2018-04-18 10:18:34 -07:00
2017-07-14 15:30:06 -07:00
2018-03-20 21:35:58 +09:00
2017-06-05 17:32:25 -07:00
2018-01-15 13:48:08 -08:00
2018-02-01 20:59:28 -08:00
2018-04-01 08:39:04 -07:00
2017-05-18 07:56:03 -07:00
2018-03-20 21:35:58 +09:00
2017-04-17 09:48:26 -07:00
2018-03-23 19:08:39 +00:00
2018-03-20 21:35:58 +09:00
2018-02-21 13:38:31 -08:00
2018-03-23 19:08:39 +00:00
2018-03-30 21:55:30 -07:00
2017-06-14 16:20:35 -07:00
2017-04-17 09:44:43 -07:00
2017-12-01 09:00:49 +09:00
2017-01-06 16:41:22 +01:00
2018-03-20 21:35:58 +09:00
2017-12-01 13:44:33 -06:00
2017-06-14 16:20:35 -07:00
2017-01-06 16:41:22 +01:00
2018-02-21 13:38:31 -08:00
2018-01-19 22:35:59 +00:00
2017-06-14 16:20:35 -07:00
2018-03-05 11:48:40 -08:00
2018-03-30 21:55:30 -07:00
2017-01-06 16:41:22 +01:00
2017-01-06 16:41:22 +01:00
2018-03-20 21:35:58 +09:00
2018-02-21 13:38:31 -08:00
2017-01-06 16:41:22 +01:00
2018-03-20 21:35:58 +09:00
2018-03-31 05:00:46 +08:00
2018-03-20 21:35:58 +09:00
2017-03-17 21:52:47 -10:00
2017-04-25 15:03:18 -07:00
2017-05-18 07:56:03 -07:00
2018-01-29 12:13:45 -08:00
2018-03-20 21:35:58 +09:00
2018-03-20 21:35:58 +09:00
2018-03-20 21:35:58 +09:00
2018-03-20 21:35:58 +09:00