[CLN-list] [bug] CLN - pi example program does not report correct accuracy

xt knight xt.knight at gmail.com
Sat Jul 28 09:55:31 CEST 2007


Sorry, I posted this to ginac-list before I realized there was also a
cln-list.  I hope it gets to the right people involved.

This is a simple bug and it's reproducible on every machine.

Using the pi example in libcln (./examples), type this:

pi 5

3.1415927 is not 5 digits.

pi 1

3.1416 is not 1 digit.

https://bugs.launchpad.net/debian/+source/cln/+bug/128851

This bug reporter also mentions that it rounds the last number and
that's not documented anywhere.



Thank you for your time,
xtknight


More information about the CLN-list mailing list