[plt-scheme] Major math screwiness going on with fractions!

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Jan 26 20:10:22 EST 2007

At Sat, 27 Jan 2007 08:51:12 +0800, Matthew Flatt wrote:
> At Fri, 26 Jan 2007 16:44:41 -0800 (PST), Danny Yoo wrote:
> > It's in the logic of rational_lt in src/mzscheme/rational.c; some of the 
> > fast-path logic looks very suspicious to me, but I haven't put my finger 
> > on it yet.
> It's comparing numerators in the second part where it should be
> denominators.

And, of course, it doesn't handle negative numbers correctly.


Posted on the users mailing list.