lfpinit() signed or unsigned?

Gary E. Miller gem at rellim.com
Fri Mar 10 04:11:24 UTC 2017


Yo Hal!

On Thu, 09 Mar 2017 20:02:46 -0800
Hal Murray <hmurray at megapathdsl.net> wrote:

> That makes sense.  Unsigned on the wire.  Signed internally for
> deltas.

Seems so.

> How about something like l_fp_time (unsigned) and l_fp_delta or
> l_fp_offset (signed)?

I'm now leaning that way too.  And two ways to make an l_fp, one
starting with int's and the other uint's.

> The casts I was thinking of eliminating were in the main code -- push
> them into macros if needed.

In some case the macros call macros that call macros and there are
now long chains of casts.  All just to get back where it started...

Target rich environment!

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170309/73f14907/attachment.bin>


More information about the devel mailing list