$isnan = ($x != $x); $isnan = ! defined($x <=> 0); [download]
In reply to Re^3: Answer: How do I create/detect/handle Infinity? by ysth in thread How do I create/detect/handle Infinity? by jdporter