Re: Draft Animator Broken?



Am Samstag, den 18.04.2009, 11:55 +0200 schrieb Christopher Roy
Bratusek:
> > Tell me, Chris, what is the value of following expressions in your env?
> >  3/2 ;; for me 1.5
> >  (eq 3/2 3/2) ;; nil. Use equal for non-int numbers.
> >  (inexact->exact 3/2) ;; 1 (why not 3/2, or 1.5 ?)
> > (say, using (format standard-error "%s" ...))
> > 
> 
> I'll check later on

3/2 ;; 3/2
(floor (/ 3 2)) ;; 1
(quotient 3 2) ;; 1
(eq 3/2 3/2) ;; nil
(inexact->exact 3/2) ;; 3/2

(got the values using sawfish-client)

oh oh, this looks really strange.

librep compiled with libgmp (2:4.2.4+dfsg-6 from Debian)

Chris



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