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
..
2018-03-23 13:36:59 +09:00
2018-03-23 13:36:59 +09:00
2018-03-20 14:53:55 -07:00
2017-06-14 16:20:35 -07:00
2018-03-30 13:43:41 -07:00
2017-03-20 10:32:24 -07:00
2017-06-15 11:50:54 -07:00
2017-06-14 16:20:35 -07:00
2018-02-01 20:59:28 -08:00
2017-06-14 16:20:35 -07:00
2017-09-28 15:45:52 -07:00
2018-03-23 13:36:59 +09:00
2018-03-23 13:36:59 +09:00
2017-06-14 16:20:35 -07:00
2018-03-11 12:14:56 +09:00
2018-03-23 13:36:59 +09:00
2018-03-27 23:22:25 +09:00
2018-04-18 10:18:34 -07:00
2018-03-23 13:36:59 +09:00
2017-06-26 15:26:38 -07:00
2017-06-14 16:20:35 -07:00
2018-03-30 13:43:41 -07:00
2017-05-08 14:05:11 -07:00
2017-05-05 15:32:24 -07:00
2017-09-15 16:51:02 -07:00
2018-03-14 16:37:40 -07:00
2018-03-14 16:37:40 -07:00
2018-03-23 13:36:59 +09:00
2018-03-11 12:14:56 +09:00
2018-03-23 13:36:59 +09:00
2018-03-23 13:36:59 +09:00
2017-06-14 16:20:35 -07:00
2017-09-15 16:51:02 -07:00
2018-03-23 13:36:59 +09:00
2018-03-23 13:36:59 +09:00
2018-03-23 13:36:59 +09:00
2018-03-23 13:36:59 +09:00
2018-03-14 16:37:40 -07:00
2018-03-23 13:36:59 +09:00
2017-06-14 16:20:35 -07:00
2017-11-27 21:09:50 -08:00
2017-03-14 12:51:42 -07:00
2017-10-21 11:36:12 -07:00