Hi

What should be the result of:

(fxdiv (least-fixnum) -1)

If the return value is not a fixnum then an assertion should be raised.

So here is what I have tested:

IronScheme:
raise assertion

Ikarus:
fails to do an overflow check and returns a negative number equal to 
(least-fixnum)

PLT & Ypsilon:
both returns a value outside fixnum range equal to (+ (greatest-fixnum) 1)

Any ideas which one is the correct behavior?

Cheers

leppie 


_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to