chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Problems with rationals


From: Jörg F . Wittenberger
Subject: Re: [Chicken-users] Problems with rationals
Date: 10 Apr 2012 10:53:06 +0200

To be fair:

On Apr 9 2012, John Cowan wrote:

But, blast it, if little Chibi can include a full numeric tower, why
should Chicken position itself with RScheme and VX, plus a bunch of
broken Schemes that always return a fixnum when multiplying fixnums,
even if it's the wrong one?

See http://trac.sacrideo.us/wg/wiki/NumericTower for a table of which
Schemes support which numeric tower features.

This table needs to be fixed wrt RScheme:


address@hidden:~$ fshell
RScheme (v0.7.3.4-b7u, 2007-05-30)
Copyright (C) 1995-2005 Donovan Kolbly <address@hidden>
RScheme comes with ABSOLUTELY NO WARRANTY.
type ",warranty" for details; type ",help" for some help
top[0]=>(define phi 3.1415926)
value := phi
top[1]=>(define eee 0-i)
value := eee
top[2]=>(/ phi eee)
value := 0.+3.14159i
top[3]=>(/ phi (* eee eee))
value := -3.14159
top[4]=>(* (/ 3 5) 5)
value := 3
top[5]=>(/ 3 5)
value := 3/5



If you see what I mean: while rscheme seems to have bugs wrt.
some type coercion, it's obviously not bound to intergers.

/Jörg
........



reply via email to

[Prev in Thread] Current Thread [Next in Thread]