I guess the problem is here:
Breakpoint 1, GSDecimalRound (result=0xbffff0d6, scale=2, mode=0) at 
NSDecimal.m:257

for 0.009 
(gdb) p (int)result->length
$5 = 1
(gdb) p (int)result->exponent
$6 = -3
(gdb) p scale
$7 = 2

(gdb)
267        else if (l <= 0) 
-> will return 0.0 which is not correct


for 0.019
(gdb) p (int)result->length
$12 = 2
(gdb) p (int)result->exponent
$11 = -3
(gdb) p scale
$10 = 2


-- 
Pirmin Braun - IntarS Unternehmenssoftware GmbH - Am Hofbräuhaus 1 - 96450 
Coburg
+49 2642 40526292 +49 174 9747584 - skype:pirminb www.intars.de  p...@intars.de
Geschäftsführer: Pirmin Braun, Ralf Engelhardt Registergericht: Amtsgericht 
Coburg HRB3136

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to