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: peter.john.acklam [...] gmail.com
Cc:
AdminCc:

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



Subject: bsin() and bcos() are broken
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