[Haskell-beginners] rational exponents

Brandon Allbery allbery.b at gmail.com
Wed Sep 7 23:38:10 CEST 2011


On Wed, Sep 7, 2011 at 17:32, Christopher Howard <
christopher.howard at frigidcode.com> wrote:

> Or maybe an all-rational math? I'm mainly curious as my CASIO fx-115W
> calculator returns a result of exactly 4 if I input 8^(2/3), but I do not
> know how it arrives at the answer.
>

Calculators often resort to built-in tables.

The easiest solution is probably to round off the last 2 digits of the full
precision.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110907/f7d9cfc9/attachment.htm>


More information about the Beginners mailing list