<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/12/9a17a0866459c3a03977c601d7a0c746"
  from="David Brown &lt;caml-list@d...&gt;"
  author="David Brown"
  date="2002-12-23T08:52:46"
  subject="Re: [Caml-list] time function"
  prev="2002/12/21630feed7c539b7d0681b465c79f97b"
  next="2002/12/c7b4e0ea2cd45574dbf17ca1f5b4f7b4"
  prev-in-thread="2002/12/21ac3eedf24975c6cbca3646f48109dc"
  next-in-thread="2002/12/9e50d6b9dc4fa4946c0dddc131ee2235"
  prev-thread="2002/12/7b41bb2cf02f08cdbe03c5ca5733063b"
  next-thread="2002/12/85b645315511ed17dcc3577d643c66b4"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] time function">
<msg 
  url="2002/12/760539af03625c1d2af3b423714355e5"
  from="onlyclimb &lt;onlyclimb@1...&gt;"
  author="onlyclimb"
  date="2002-12-23T07:21:13"
  subject="[Caml-list] time function">
<msg 
  url="2002/12/e48c462e89c59263f9e15b37bf536ab9"
  from="Chris Hecker &lt;checker@d...&gt;"
  author="Chris Hecker"
  date="2002-12-23T07:40:42"
  subject="Re: [Caml-list] time function">
<msg 
  url="2002/12/f4734b657369b00650069d2bbf5d2677"
  from="onlyclimb &lt;onlyclimb@1...&gt;"
  author="onlyclimb"
  date="2002-12-23T08:06:04"
  subject="Re: [Caml-list] time function">
<msg 
  url="2002/12/21ac3eedf24975c6cbca3646f48109dc"
  from="Sven Luther &lt;luther@d...&gt;"
  author="Sven Luther"
  date="2002-12-23T08:21:17"
  subject="Re: [Caml-list] time function">
<msg 
  url="2002/12/9a17a0866459c3a03977c601d7a0c746"
  from="David Brown &lt;caml-list@d...&gt;"
  author="David Brown"
  date="2002-12-23T08:52:46"
  subject="Re: [Caml-list] time function">
</msg>
<msg 
  url="2002/12/9e50d6b9dc4fa4946c0dddc131ee2235"
  from="onlyclimb &lt;onlyclimb@1...&gt;"
  author="onlyclimb"
  date="2002-12-23T09:13:13"
  subject="Re: [Caml-list] time function">
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
On Mon, Dec 23, 2002 at 09:19:34AM +0100, Sven Luther wrote:

&gt; &gt; - : float = 1040659299.94
&gt; &gt; it seems that  gettimeofday() is for centi-second,  :-)

&gt; It may just be a coincidence that your call to gettimeofday fall on a
&gt; full centi-second, and thus the last decimal was not shown.

Actually, it's just the default resolution of the float pretty-printer
in the top-level.

# Printf.printf "%.30f\n" (Unix.gettimeofday ());;
1040633442.482807993888854980468750000000
- : unit = ()

Will give you many more digits than are actually meaningful.

Dave Brown
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

