On 8/11/05, Alex Shinn <[EMAIL PROTECTED]> wrote:
> At Wed, 10 Aug 2005 20:37:21 -0500, Alex Shinn wrote:
> >
> > (define (power base e) ; like expt but e must be an integer
>
> Might as well go all the way. Attached is a patch to numbers-base.scm
> which modifies the above power function to work
On 8/11/05, Thomas Chust <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I fixed two type conversion problems in the sqlite3 egg. The new version
> is available at the same place as the old one.
>
> cu,
> Thomas Chust
>
Thanks, I'll replace it.
cheers,
felix
Hello,
I fixed two type conversion problems in the sqlite3 egg. The new version
is available at the same place as the old one.
cu,
Thomas Chust
Thomas Chust wrote:
[...]
The egg is available at http://www.chust.org/projects/sqlite3.egg, the
documentation, which is also included in the egg,
Hello,
thank you for the patch. I don't even think it is too slow, as it is
still comparable in speed with dc, which is really fast.
With this problem removed, the numbers egg is really cool!
cu,
Thomas Chust
Alex Shinn wrote:
At Wed, 10 Aug 2005 20:37:21 -0500, Alex Shinn wrote:
(define
Works for me. In fact (expt 100 1) gives the wrong magnitude,
about 10^305, without the patch. Interestingly it is even faster than
"calc", the "C-style arbitrary precision calculator (version
2.11.10.1)":
time csi -batch -eval '(use numbers) (display (expt 100 1))
(newline)' > /dev/null
FWIW, this is what I get:
#> (expt 10 100)
1e+100
This is with the latest darcs build and with gcc 4.0.2 prerelease.
Reed Sheridan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
BTW, congratulations Felix on such a high quality numbers egg. There
is a new super-stress-test available for Scheme implementations in the
form of the latest SRFI-56 reference implementation + test suite.
http://sythcode.com/scheme/srfi-56.tar.bz2
Only two implementations pass all tests - MzS