Talk:cpp/numeric/math/abs

Suggest we replace "argument of arithmetic type such that  is  and " with "unsigned argument". Don't think there's risk of misinterpretation doing so. --Ybab321 (talk) 03:42, 6 November 2020 (PST)
 * Or maybe use both:

... argument of arithmetic type such that  is  (which means on most platforms that  is of  type) ...
 * or something similar. Space Mission (talk) 08:55, 6 November 2020 (PST)
 * std can be called with an arguments on most platforms, as  can be promoted to . How about "an argument of integer type  such that the type of  is an unsigned integer type"? --Fruderica (talk) 00:23, 7 November 2020 (PST)
 * I'm happy with the "cannot be converted to int by integral promotion" wording; I think banking on people knowing about unary + doing promotion is a little too cryptic. Full wording change would be like:
 * "If is called with an unsigned argument and that cannot be converted to  by integral promotion, the program is ill-formed."
 * Or taking Space Mission's take into account, my proposed wording would be:
 * "If is called with an unsigned argument (that is, of arithmetic type  such that  is ) that cannot be converted to  by integral promotion, the program is ill-formed."
 * I really just don't like the idea that would warrant any kind of complexity/verbosity/crypticism in its description. --Ybab321 (talk) 04:24, 8 November 2020 (PST)
 * I think your wording is better. Applied with redundant "integral" added. --Fruderica (talk) 01:35, 10 November 2020 (PST)
 * Much appreciated, thanks --Ybab321 (talk) 06:15, 11 November 2020 (PST)
 * 1'd like to say the same . ) --Space Mission (talk) 08:28, 11 November 2020 (PST)