comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: JULDAY-CALDAT problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: JULDAY-CALDAT problem [message #38233] Fri, 27 February 2004 08:17 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Luciano wrote:
>
> Thanks David and Ben for your help. I've solved the problem by not
> using Julday and Caldat...
> David, if for the computer 0=10^-5 then is not me who has to start
> counting like a computer, it should be the other way around :)
>
> This is simply wrong and should be fixed at some level! I understand
> all the hardware, 0s and 1s, significant figures and related problems
> described in your "Help! The Sky is Falling!" section. But... don't
> you think this should be fixed somehow?
>
> If you ask me, 0 should be 0, and the computer should be able to know
> it...

There are ways to achieve that - they basically involve storing and
manipulation all the components of dates as integers, rather than
floating point. As long as floating point numbers are used, inaccuracy
is unavoidable, since you can't represent all the real numbers in a
finite non-zero range, using a representation that takes up a fixed
maximum about of memory.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Extracting strings from an array
Next Topic: JULDAY-CALDAT problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:35:16 PDT 2025

Total time taken to generate the page: 1.20141 seconds