I was wondering how I would test to see if a number was NaN. When I assign log(-1) to a constant, it does not seem to equal another variable that is NaN. -- :-J -- -- PHP General 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]