[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Roundoff error in "bc -l"
From: |
mjd |
Subject: |
Roundoff error in "bc -l" |
Date: |
15 Aug 2003 23:38:49 -0000 |
plover% bc -l
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=11
1/11
.0AAAAAAAAAAAAAAAAAAA
The output should be '.1'. The answer .0AAAAAAAAAAAAAAAAAAA is very
close, but slightly inaccurate.
Similarly:
1/121
.00AAAAAAAAAAAAAAAAA9
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Roundoff error in "bc -l",
mjd <=