[ntp:questions] Is always T2 = T3 ?
jordi_pn at yahoo.es
Thu Apr 19 09:45:26 UTC 2007
On Apr 19, 10:38 am, hal-use... at ip-64-139-1-69.sjc.megapath.net (Hal
> In article <1176970707.769827.240... at e65g2000hsc.googlegroups.com>,
> Mastuac <jordi... at yahoo.es> writes:
> >I've been looking for some NTP server responses and I have always seen
> >that T3=T2.
> >Is this always true.
> 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.
More information about the questions