Jochem Maas wrote:
Bruce Douglas wrote:

so...

you're saying that 7.99999 (repeating) is equal to 8.0....

i say prove it.. as i recall the numbers might be for all practical purposes the same, they are in fact vastly different...

so, prove your assertion...


he did.

you have to consider the two the same, given that there is always a limit to the
level of precision - the alternative would be to say no 2 numbers are ever equal and
that make for boring mathematics.


actually the underlying maths kinda makes my head spin :-)


Calculus, or did I miss something here? In any case it was a cool link all the same and I enjoyed reading it. Float <-> int conversions have been a problem in every language that I've coded in.



-- Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to