Skip Menu |
 

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

Report information
The Basics
Id: 107604
Status: new
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: pjacklam [...] online.no
Cc:
AdminCc:

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



Subject: bsin() and bcos() are broken
Download (untitled) / with headers
text/plain 484b
The naive implementations of bsin() and bcos() only work for input values close to zero. The following should be approximately equal to zero: $ perl -MMath::BigFloat -wle '$pi = Math::BigFloat -> bpi(); print Math::BigFloat -> bsin(40 * $pi)' -9415351529.817955793100396582288728814819 The following should be approximately equal to one: $ perl -MMath::BigFloat -wle '$pi = Math::BigFloat -> bpi(); print Math::BigFloat -> bcos(40 * $pi)' 7538616183.627138948100717893279061270537


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.