Re: Is always T2 = T3 ?



On Apr 19, 10:38 am, hal-use...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Hal
Murray) wrote:
In article <1176970707.769827.240...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,

Mastuac <jordi...@xxxxxxxx> writes:
I've been looking for some NTP server responses and I have always seen
that T3=T2.
Is this always true.

No.

Its a bore to do 32 bit calcs and the

fractional part in a small micro, so if I can simplify the formula
it would be great

Doesn't your compiler support 32 bit integers?

If not, I'd expect you would have subroutines to do the work
and it should be pretty simple to do a manual compile. It might
be fun to write a hack script to do the compile, something
to translate an equation into subroutine calls.

--
These are my opinions, not necessarily my employer's. I hate spam.

And also do routines to make the fractional part to miliseconds
conversion, with no float aritmetic suported by the micro.
And my system clock ( T1 , T4) has a resolution of 10 msec.

So I wonder if do the effort worths it.

Thank you

.



Relevant Pages

  • Re: Is always T2 = T3 ?
    ... Its a bore to do 32 bit calcs and the ... Doesn't your compiler support 32 bit integers? ... I'd expect you would have subroutines to do the work ... and it should be pretty simple to do a manual compile. ...
    (comp.protocols.time.ntp)
  • Use of subroutines
    ... number of very knowledgeable FORTRAN programmers in this newsgroup. ... falls under the heading of programming style. ... Subroutines are, in their fundamental form, just a GO TO statement. ... it takes close to 10 minutes to compile using CVF on an AMD ...
    (comp.lang.fortran)
  • Re: Use of subroutines
    ... Subroutines are, in their fundamental form, just a GO TO ... which can be implemented efficiently with arrays. ... it takes close to 10 minutes to compile using CVF on an AMD ...
    (comp.lang.fortran)
  • calling compiled subroutines
    ... I would like to programmatically call (load and unload) ... subroutines from a VI.  There must be a way to do it, ... When I compile the main program, if I compile the supporting VIs, I am no ...
    (comp.lang.labview)
  • Re: unexplainable behaviour - f90 - looking for some tools to help diagnose
    ... between subroutines etc... ... Turn on your compiler's debugging options, ... Compile with Silverfrost. ...
    (comp.lang.fortran)