Project

General

Profile

Bug #1280 » bigdecimal.patch

cfis (Charlie Savage), 03/13/2009 05:29 PM

View differences:

ext/bigdecimal/bigdecimal.c (working copy)
div = v/10;
v = v - div*10;
if (fracf == 0) {
for(i=ix+1;i<y->Prec;i++) {
for(i=ix+1;(U_LONG)i<y->Prec;i++) {
if (y->frac[i]%BASE) {
fracf = 1;
break;
(7-7/7)