Skip Menu |

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

Report information
The Basics
Id: 71540
Status: new
Priority: 0/
Queue: Math-BigRat

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: bsqrt() precision and rounding
Date: Sat, 08 Oct 2011 11:40:13 +1100
To: bug-Math-BigRat [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
The docs of BigRat bsqrt() could say how much accuracy it gives and which way it rounds. Does it end up a hard limit of 40 digits of some such (a default from BigFloat maybe)? If the input is a perfect square it'd be good to give back the exact root. Not sure what to do otherwise, though perhaps rounding downwards, to whatever precision denominator, would be consistent with BigInt.