[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] srfi-56 / numbers installable?
From: |
Nelson Castillo |
Subject: |
Re: [Chicken-users] srfi-56 / numbers installable? |
Date: |
Sat, 15 Apr 2006 21:28:11 -0500 |
> Do you have GMP (GNU Multiprecision Package) installed? The numbers
> has such a requirement. <http://www.call-with-current-
> continuation.org/eggs/numbers.html>
No. I needed to install libgmp3-dev in Debian.
Version 2, Build 3 - linux-unix-gnu-x86 - [ dload ptables ]
(c)2000-2005 Felix L. Winkelmann
#;1> (use syntax-case)
; loading /usr/local/lib/chicken/syntax-case.so ...
; loading /usr/local/lib/chicken/syntax-case-chicken-macros.scm ...
#;2> (use numbers)
; loading /usr/local/lib/chicken/numbers.scm ...
; loading /usr/local/lib/chicken/numbers-base.so ...
#;3> (load "srfi-56.scm")
; loading srfi-56.scm ...
#;4> (define f (open-binary-input-file "/home/n/data/sample/15-1M-1024-128-0"))
#;5> (read-ieee-float32 f)
0.337290078401566
Thanks. Life's good :)
PS: Next time I will do `chicken-setup numbers 2>2 >1` and read
the first error messages :) Sorry.
--
http://arhuaco.org/