note 73654 added to language.types.float
| From: | rune at zedeler dot dk | Date: | Mon, 05 Mar 2007 23:44:51 +0000 |
| Subject: | note 73654 added to language.types.float | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124128@lists.php.net to get a copy of this message | ||
Comparing infinite values gives REALLY STRANGE results.
INF<INF is true
INF>INF is true
INF==INF is false
INF===INF is true
So if someone tells you that $a==$b implies $a===$b then you can tell them no, $a=$b=INF is a
counterexample. :-/
----
Server IP: 86.58.145.50
Probable Submitter: 86.52.12.238
----
Manual Page -- http://www.php.net/manual/en/language.types.float.php
Edit -- https://master.php.net/note/edit/73654
Del: integrated -- https://master.php.net/note/delete/73654/integrated
Del: useless -- https://master.php.net/note/delete/73654/useless
Del: bad code -- https://master.php.net/note/delete/73654/bad+code
Del: spam -- https://master.php.net/note/delete/73654/spam
Del: non-english -- https://master.php.net/note/delete/73654/non-english
Del: in docs -- https://master.php.net/note/delete/73654/in+docs
Del: other reasons-- https://master.php.net/note/delete/73654
Reject -- https://master.php.net/note/reject/73654
Search -- https://master.php.net/manage/user-notes.php