Re: How to Define High-precision Date type
- From: roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson)
- Date: Fri, 31 Mar 2006 06:20:19 +0000 (UTC)
In article <1143783871.851671.134250@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Donkey <newsdonkey@xxxxxxxxxxx> wrote:
The precision of built-in date type of C is very low. Even using long
double float type or double float type, we can only use 12 or 16 digits
after the decimal point. What can we do if we want to use
high-precision number such as the number with 50 digits after the
decimal point. Can we define a user date type?
No, if you want longer precision that is provided by the compiler,
then you either have to program the calculation routines yourself,
or else find a pre-written extended precision library and use it.
--
Programming is what happens while you're busy making other plans.
.
- References:
- How to Define High-precision Date type
- From: Donkey
- How to Define High-precision Date type
- Prev by Date: Re: Something About Date Type
- Next by Date: Re: How to Define High-precision Date type
- Previous by thread: How to Define High-precision Date type
- Next by thread: Re: How to Define High-precision Date type
- Index(es):
Relevant Pages
|