ThePhD / future_cxx

Work done today for the glory of tomorrow - or, C and C++ systems programming papers.
https://thephd.dev/portfolio/standard
50 stars 8 forks source link

c23_draft (n3054): SHRT_WIDTH is missing in Annex E, statement #3 #61

Closed winspool closed 1 year ago

winspool commented 2 years ago

In Annex E, sentence #3, there is no SHRT_WIDHT listed. This is wrong, as SHRT_WIDTH is used in the comments of SHRT_MAX and SHRT_MIN in the same section. (Page 506).

SHRT_WIDTH is also mentioned in § 5.2.4.2.1 in the text below USHRT_WIDTH (Page 21)

SHRT_WIDTH is also listed in §B.9 (Page 478)

Implementation example from clang: https://github.com/llvm/llvm-project/blob/main/clang/lib/Headers/limits.h#L74

-- Regards ... Detlef

winspool commented 1 year ago

Still not fixed in n3088.pdf (Page: 501)

-- Regards ... Detlef

ThePhD commented 1 year ago

This is done.