[Cfp-interest] llogb(1.)

Fred J. Tydeman tydeman at tybor.com
Wed Aug 22 19:57:52 PDT 2018


On Tue, 21 Aug 2018 15:09:37 -0700 Jim Thomas wrote:
>
>llogb and ilogb return in integer format, so we don't need to say anything about the sign of a zero result for them. 

That is true for 2's complement, but not for 1's complement or sign-magnitude.



---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list