Re: rational arithmetic library?
taltman_at_noshpam.lbl.government
Date: 02/25/04
- Next message: taltman_at_noshpam.lbl.government: "Re: rational arithmetic library?"
- Previous message: Nils Gösche: "Re: The Next Move in Programming"
- In reply to: taltman_at_noshpam.lbl.government: "Re: rational arithmetic library?"
- Next in thread: Marco Antoniotti: "Re: rational arithmetic library?"
- Reply: Marco Antoniotti: "Re: rational arithmetic library?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 25 Feb 2004 12:49:15 -0800
taltman@noshpam.lbl.government writes:
> I took a second look at R5RS, and I realized my confusion; I guess my
> current implementation-of-choice, Guile, doesn't support 'numerator',
> 'denominator', or 'rationalize'! So I tried some others:
>
> *DrScheme: yes
> *Guile: no
> *Chicken: no
> *Bigloo: yes
> *Scheme48/Scsh: yes
> *SCM: no
I made a mistake: Bigloo does not support rationals:
1:=> rationalize
*** ERROR:bigloo:eval:
Unbound variable -- rationalize
#unspecified
1:=> numerator
*** ERROR:bigloo:eval:
Unbound variable -- numerator
#unspecified
1:=> denominator
*** ERROR:bigloo:eval:
Unbound variable -- denominator
#unspecified
1:=> (/ 10 3)
3.3333333333333
1:=> (/ 1111111111111111111 999999999999999999999999)
*** ERROR:bigloo:/:
not a number -- #l1111111111111111111
#unspecified
--- ~T
- Next message: taltman_at_noshpam.lbl.government: "Re: rational arithmetic library?"
- Previous message: Nils Gösche: "Re: The Next Move in Programming"
- In reply to: taltman_at_noshpam.lbl.government: "Re: rational arithmetic library?"
- Next in thread: Marco Antoniotti: "Re: rational arithmetic library?"
- Reply: Marco Antoniotti: "Re: rational arithmetic library?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|