Re: Found a PHP bug!!!!!!!!!

From: Date: Mon, 27 Jan 2003 21:55:41 +0000
Subject: Re: Found a PHP bug!!!!!!!!!
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-133308@lists.php.net to get a copy of this message
"Scott Fletcher": > Okay, correction... > > Double --> 11.1237 > Float --> 0.9999999999999999999999999999999999999999999999999999 > > Cheers! It's the way it work in C Programming... Double won't be as long > or as infinite as the floating point. Absolutely wrong (if you would be in a C newsgroup you would even be accused of trolling :-))) double (in C) means: double precision floating point number float in C means: floating point number Float is guaranteed to store 6 significant digits (and usually noone uses it except on some very weird architectures) while double's minimum is 10 significant digits. WW

« previous php.general (#133308) next »