guile-user
[Top][All Lists]
Advanced

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

inexact->exact in 1.7.1


From: Rick Taube
Subject: inexact->exact in 1.7.1
Date: Fri, 15 Apr 2005 12:13:08 -0500

this behavior of inexact->exact in guile 1.7.1 causes my program to become confused:

guile> (inexact->exact 48.0)
48
guile> (inexact->exact (* .1 480.0))
48
guile> (inexact->exact (* (- 1.1 1) 480.0))
3377699720527875/70368744177664

guile>(quit)
$ uname -a
Darwin pinhead.music.uiuc.edu 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc


-rick


i attempted to see if guile 1.7.2 fixes this but it doesnt build on darwin. perhaps someone could tell me





reply via email to

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