ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.xs
(Generate patch)

Comparing JSON-XS/XS.xs (file contents):
Revision 1.104 by root, Tue Jan 19 00:31:13 2010 UTC vs.
Revision 1.105 by root, Tue Jan 19 01:07:27 2010 UTC

249 249
250 break; 250 break;
251 } 251 }
252 } 252 }
253 253
254 // this relies greatly on the quality of the pow ()
255 // implementation of the platform, but a good
256 // implementation is hard to beat.
254 if (postdp) *expo -= eaccum; 257 if (postdp) *expo -= eaccum;
255 *accum += uaccum * pow (10., *expo); 258 *accum += uaccum * Perl_pow (10., *expo);
256 *expo += eaccum; 259 *expo += eaccum;
257} 260}
258 261
259static NV 262static NV
260json_atof (const char *s) 263json_atof (const char *s)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines