GNU bug report logs - #15320
[2.0.7] Rational number representation problem

Previous Next

Package: guile;

Reported by: Josh Stokes <jsstokes2 <at> googlemail.com>

Date: Tue, 10 Sep 2013 15:45:02 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Josh Stokes <jsstokes2 <at> googlemail.com>
To: bug-guile <at> gnu.org
Subject: [2.0.7] Rational number representation problem
Date: Tue, 10 Sep 2013 14:28:37 +0100
[Message part 1 (text/plain, inline)]
It seems that certain small numbers are represented as integers, as (*
4294967296 4294967296) results in 0, but (* 3294967296 3294967296) returns
the correct value of 10856809481709551616. In addition, (ash 1 64) gives 0,
but (ash 1 65) works correctly.
[Message part 2 (text/html, inline)]

This bug report was last modified 11 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.