Edit report at http://bugs.php.net/bug.php?id=38910&edit=1

 ID:                 38910
 Updated by:         [email protected]
 Reported by:        femteuwen at cs dot com
 Summary:            output of echo is different
-Status:             Open
+Status:             Bogus
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 Operating System:   Win32 and UNIX
 PHP Version:        5.1.6
 Block user comment: N
 Private report:     N

 New Comment:

The size of the integer variable is system dependent, larger numbers
become floats, floats are imprecise.


Previous Comments:
------------------------------------------------------------------------
[2006-09-21 15:15:12] femteuwen at cs dot com

it's the echo function that produces the output difference.



echo(5e93); 



on 5.1.6/unix-64bits outputs: 5E+93

on 5.1.6/win-32bits outputs:  5E+093

------------------------------------------------------------------------
[2006-09-21 13:28:53] femteuwen at cs dot com

Description:
------------
echo(abs(5e93));



on 5.1.6/unix-64bits outputs: 5E+93

on 5.1.6/win-32bits outputs:  5E+093



Reproduce code:
---------------
echo(abs(5e93));

Expected result:
----------------
same result, version/OS/architecture independent.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=38910&edit=1

Reply via email to