S
soerenfleischer
Guest
Is there a way to prevent a division by 0 in PHP?
I'm making a graph-drawer, which crashes if a function has pole-points, because those cause divisions by zero...
I'm afraid the functions is_infinite() and is_finite() are not available in the "normal" version of PHP...
Any ideas?
Thanks in advance!
I'm making a graph-drawer, which crashes if a function has pole-points, because those cause divisions by zero...
I'm afraid the functions is_infinite() and is_finite() are not available in the "normal" version of PHP...
Any ideas?
Thanks in advance!