From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Friedman Roy <roy@cs.technion.ac.il>, caml-list@inria.fr
Subject: Re: Y2K related changes
Date: Mon, 6 Sep 1999 19:52:21 +0200 [thread overview]
Message-ID: <19990906195221.19299@pauillac.inria.fr> (raw)
In-Reply-To: <Pine.GSO.3.95-heb-2.07.990901182225.1666E-100000@csa.cs.technion.ac.il>; from Friedman Roy on Wed, Sep 01, 1999 at 06:23:22PM +0300
> Were there any Y2K related changes in Ocaml from version 1.05 to 2.02?
No year 2000 changes. As far as we know, all versions of OCaml are
Y2K-safe.
However, OCaml 1 has a year 2004 problem in the Unix library: the type
"int" was used to represent a number of seconds since the Unix epoch,
and since Caml integers are signed, 31 bit (on 32-bit platforms), this
causes a roll-over in Jan 2004.
To work around this problem, OCaml 2 uses the type "float" to
represent Unix time. This ensures correct time values till the year
570843811, and progressive degradation of the accuracy of time values
afterwards :-)
- Xavier Leroy
next prev parent reply other threads:[~1999-09-07 9:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-23 8:43 Ocamlopt for R4000? Ken Wakita
1999-08-23 15:55 ` Yozo Toda
1999-08-31 19:16 ` Xavier Leroy
1999-09-01 15:23 ` Y2K related changes Friedman Roy
1999-09-06 17:52 ` Xavier Leroy [this message]
[not found] ` <37D79CA3280.39A6KEN.WAKITA@mail.is.titech.ac.jp>
1999-09-16 13:22 ` Ocamlopt for R4000? Xavier Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19990906195221.19299@pauillac.inria.fr \
--to=xavier.leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=roy@cs.technion.ac.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox