[ntp:questions] Garmin LVC 18x jitter problem

Jakob Bohm jb-usenet at wisemo.com.invalid
Mon Aug 12 14:49:33 UTC 2019


On 11/08/2019 14:03, Michael Haardt wrote:
> Jakob Bohm <jb-usenet at wisemo.com.invalid> writes:
>> Minor issue 1: You seem not to initialize fudgeminjitter if not
>> configured.  Probably to 0.0
> 
> All values are initialized to 0 when the structs are allocated, I
> checked that.  That's why it works without a flag bit at all.  I
> still like the flag bits more, because they make everything easier
> to understand.
> 

If this is done by setting all bytes of the memory to 0, this doesn't
necessarily map to 0.0 in the floating point formats of all machines.

If the ntp code does something more clever (like knowing that a certain
address range is an array of doubles), it might still work if you make
sure the assumptions of that clever code still holds.


Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded



More information about the questions mailing list