Skip Menu |

This queue is for tickets about the Math-Complex CPAN distribution.

Report information
The Basics
Id: 132146
Status: new
Priority: 0/
Queue: Math-Complex

People
Owner: Nobody in particular
Requestors: pjacklam [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.59
Fixed in: (no value)



Subject: coth() can't handle values with a large absolute value
The following should return the real value -1, but instead gives an error: $ perl -MMath::Complex -wle '$x = Math::Complex->new(-1e+40); $z = coth($x); print $z' Math::Complex::make: Cannot take real part of '-Inf'. The following should return the real value 1, but instead gives an error: $ perl -MMath::Complex -wle '$x = Math::Complex->new(1e+40); $z = coth($x); print $z' Math::Complex::make: Cannot take imaginary part of 'NaN'.