emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: timer error


From: Gilbert Harman
Subject: Re: timer error
Date: Sun, 09 Jul 2006 08:37:28 -0400
User-agent: Microsoft-Entourage/11.2.4.060510

If I directly evaluate that expression,
(timer-relative-time '(17583 46528 355684) 0.5 0)
I too get (17583 46528 855684).

So, I am not sure what I should try next?

 Gil


>> Debugger entered--Lisp error: (range-error "floor" 174058816388191.03)
>>   floor(174058816388191.03)
>>   timer-relative-time((17583 46528 355684) 0.5 0)
>>   timer-inc-time([t 17583 46528 355684 0.5 blink-cursor-timer-function nil
>> nil] 0.5 0)
>>   timer-event-handler([t 17583 46528 355684 0.5 blink-cursor-timer-function
>> nil nil])
> 
> If I evaluate (timer-relative-time '(17583 46528 355684) 0.5 0) on GNU/Linux
> I get (17583 46528 855684).
> 
> timer-relative-time calls floor twice.  The arguments should be 0.5 and
> 500000.0.  You could instrument timer-relative-time with Edebug and step
> through it to see where it fails.  However I suspect there is an underlying
> problem with floor which is a primitive and will need to be debugged with GDB.
> 
>> In GNU Emacs 22.0.50.1 (i386-apple-darwin8.7.1)
>                                       ^^^^^^
> This may be the source of the discrepancy.






reply via email to

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