[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] Re: Bug#263991: axiom: wrong calculation of sqrt(2.)
From: |
Camm Maguire |
Subject: |
[Axiom-developer] Re: Bug#263991: axiom: wrong calculation of sqrt(2.) |
Date: |
06 Aug 2004 18:27:35 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
forwarded 263991 address@hidden
thanks
Tim, would you know anything about this?
Take care,
Heiko Scheit <address@hidden> writes:
> Package: axiom
> Version: 0.20040128-4
> Severity: normal
>
>
> axiom seems to have problems calculating sqrt(2). Using the following
> command
>
> echo "digits(DIGITS); sqrt(2.)" | axiom
>
> where DIGITS should be replaced by the numbers listed in the
> corresponding column below. In the table below the last digits of the
> output are shown in the second column. One can see that for
> DIGITS=121278-121280 the result is not correct. For 121290 digits the
> result is OK again. As reference the output of Mathematica is given
> in the last row.
>
> DIGITS | result
> --------------------------------
> 121275 | 8347436383 149
> 121276 | 8347436383 14897
> 121277 | 8347436383 148974
> 121278 | 8347436382 1263421
> 121279 | 8347436382 9853356
> 121280 | 8347436383 114184622
> 121290 | 8347436383 1489743406 4670264
> --- | 8347436383 1489743406 467026400 (Mathematica output)
>
>
>
> -- System Information:
> Debian Release: 3.1
> APT prefers testing
> APT policy: (101, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.7-1-686
> Locale: LANG=C, LC_CTYPE=C
>
> Versions of packages axiom depends on:
> ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries
> an
> ii libgmp3 4.1.3-1 Multiprecision arithmetic library
> ii libncurses5 5.4-4 Shared libraries for terminal
> hand
> ii libreadline4 4.3-11 GNU readline and history
> libraries
>
> -- no debconf information
>
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- [Axiom-developer] Re: Bug#263991: axiom: wrong calculation of sqrt(2.),
Camm Maguire <=