ID: 6640 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Bogus Bug Type: Unknown/Other Function Operating system: PHP Version: 4.0.2 Assigned To: Comments: submitted twice (sorry, really old report, ignore this) Previous Comments: --------------------------------------------------------------------------- [2000-09-09 10:00:50] [EMAIL PROTECTED] dup of #6639 --------------------------------------------------------------------------- [2000-09-09 09:57:41] [EMAIL PROTECTED] Hi friends, Please try following PHP code: <? $a=unpack("dx",pack("d",3.1415926)); print($a["x"]); ?> It's supposed to be "3.1415926", but it return "6.3886672646707E-315". It seems the problem appears in all versions of PHP4, includes PHP 4.0, PHP 4.0.1, PHP 4.0.1 pl2 and PHP 4.0.2, under Windows 98 environment. Thanks & Regards, Edward Zhang --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6640&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]