Yo Sanjeev! On Sat, 17 Aug 2019 05:27:17 +0800 Sanjeev Gupta <gha...@gmail.com> wrote:
> Gary, > > On my 32 bit x86, gcc 8 > > Size of int: 4 bytesSize of long int: 4 bytesSize of long long int: 8 > bytesSize of float: 4 bytesSize of double: 8 bytesSize of long double: > 12 bytesSize of char: 1 byte > > I have cast explicitly to (long double), please review: > > https://gitlab.com/NTPsec/ntpsec/merge_requests/1015 I do not like using floating point when ints will do. Too much chance to get things like 8.999999999999 RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@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
pgpk55fWIv7mC.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel