Be more robust on "extreme" (large absolute value)
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 26 Apr 2000 22:57:53 +0000 (22:57 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 26 Apr 2000 22:57:53 +0000 (22:57 +0000)
commit1fa12f56a04792e6e4beef1566524a1c262fc16f
treebaa9015988c8dbdacf5454b069dd66875af611fd
parentcc255d5f98c29ad53a83e8a6c100b03ac8715700
Be more robust on "extreme" (large absolute value)
arguments.  Originally reported by Daniel Connelly
as a problem with asinh() on large negative arguments,
asinh() used to bail out because an argument to log()
ended up being zero.  Ilya Zakharevich proposed using
Taylor's series in such cases, which for such large
arguments is a very good approximation.

p4raw-id: //depot/cfgperl@5951
lib/Math/Complex.pm
t/lib/complex.t