[Solar-talk] Test_Solar_Json Failure

Andrew Shell andrew at andrewshell.org
Mon Sep 18 14:37:51 PDT 2006


I'm running windows/apache with php 5.1.6 and testDecode_stress() in 
Test_Solar_Json fails.

I did a little digging and found the error is that when "E": 
1.234567890E+34 goes through the decode/serialize it outputs:

s:1:"E";d:1.2345678900000012E+34;

instead of the expected:

s:1:"E";d:1.2345678900000005E+34;

I have no idea how to go about fixing this but I figured I'd post it in case it's significant.

Andrew Shell




More information about the solar-talk mailing list