From: Shriramana Sharma <samjnaa@gmail.com>
To: Linux C Programming List <linux-c-programming@vger.kernel.org>
Subject: Re: Integer arithmetic vs double precision arithmetic
Date: Mon, 27 Mar 2006 14:02:07 +0530 [thread overview]
Message-ID: <200603271402.08010.samjnaa@gmail.com> (raw)
In-Reply-To: <17447.14781.949111.245955@cerise.gclements.plus.com>
Monday, 27 March 2006 06:32 samaye, Glynn Clements alekhiit:
> E.g. The Unix API uses either seconds since midnight UTC, Jan 1st 1970
> (time(), typically 32 bits) or seconds and microseconds since that
> time (gettimeofday(), typically 32 bits for each component), while
> Java uses milliseconds since that date (64 bits).
Oh! I did not know that Java can return system time to millisecond precision.
Is there a C or C++ function that can do that?
--
Tux #395953 resides at http://samvit.org
playing with KDE 3.51 on SUSE Linux 10.0
$ date [] CCE +2006-03-27 W13-1 UTC+0530
next prev parent reply other threads:[~2006-03-27 8:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-26 15:14 Integer arithmetic vs double precision arithmetic Shriramana Sharma
2006-03-26 16:12 ` Steve Graegert
2006-03-26 16:24 ` Shriramana Sharma
2006-03-26 21:03 ` Glynn Clements
2006-03-26 23:35 ` Shriramana Sharma
2006-03-27 1:02 ` Glynn Clements
2006-03-27 8:32 ` Shriramana Sharma [this message]
2006-03-27 17:13 ` Glynn Clements
2006-03-26 16:12 ` Glynn Clements
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=200603271402.08010.samjnaa@gmail.com \
--to=samjnaa@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.