[J3] US21 enum constructor
Fred J. Tydeman
tydeman at tybor.com
Mon Oct 4 03:43:03 UTC 2021
On Mon, 4 Oct 2021 09:31:21 +0900 Malcolm Cohen via J3 wrote:
>
>It is possible that 12345 might not be representable, but it is highly likely to be. I suppose we could add an extra enum "big=99999" to the example to force the issue.
>
What if the C integer is only 16 bits? Then the maximum is 32767.
---
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 J3
mailing list