emacs-devel
[Top][All Lists]
Advanced

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

Re: Time not representable


From: Paul Eggert
Subject: Re: Time not representable
Date: Sat, 12 Mar 2011 15:22:27 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

On 03/12/2011 02:13 PM, Carsten Dominik wrote:
> So if a system uses a signed 64 bit integer, then the representation
> problems will be fixed automatically, without further changes in
> Emacs?

Sorry, no.  Perhaps my explanation wasn't clear?

> Is there anyone here who has a 64 bit system and con confirm that
> encode-time can handle times both before 1970 and after 2040 without 
> any problems?

I have one (RHEL 5.5, x86-64), and can verify that it
can handle times well outside the 1970-2038 range;
but there are problems, as mentioned in my previous message.
For example, (decode-time (encode-time 0 0 0 1 1 2147485548))
returns (0 0 0 1 1 -2147481748 4 nil -28378) on my host, and
this is obviously bogus.



reply via email to

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