how to capture INF return from exp()
| From: | Info | Date: | Tue, 09 Mar 2010 10:00:15 +0000 |
| Subject: | how to capture INF return from exp() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-302628@lists.php.net to get a copy of this message | ||
Hello List,
I am using the math function exp( $arg )
http://php.net/exp
... using argument values ranging between 0 to 1500.
When I get into larger numbers, such as 750, the function returns an
undocumented "INF".
Presumably the "INF" means the number exceeds processing capacity. It would
be nice to know the official explanation.
At any rate, I want to capture the "INF" so that I can indicate to my users,
in a friendlier manner, that capacity is exceeded.
How?
Please also cc my address on your reply, with thanks,
Sincerely,
Esteban
1888Software.com S.A.
Software Powers the Net
WWW: http://1888Software.com
Email: 1888Software@gmail.com