From Jason Turner

[c.math.abs]

Diff to HTML by rtfpessoa

tmp/tmpzth5zlh_/{from.md → to.md} RENAMED
@@ -15,16 +15,16 @@ respectively.
15
 
16
  *Remarks:* If `abs` is called with an argument of type `X` for which
17
  `is_unsigned_v<X>` is `true` and if `X` cannot be converted to `int` by
18
  integral promotion [[conv.prom]], the program is ill-formed.
19
 
20
- [*Note 1*: Arguments that can be promoted to `int` are permitted for
21
  compatibility with C. — *end note*]
22
 
23
  ``` cpp
24
  constexpr floating-point-type abs(floating-point-type x);
25
  ```
26
 
27
  *Returns:* The absolute value of `x`.
28
 
29
- See also: ISO C 7.12.7.2, 7.22.6.1
30
 
 
15
 
16
  *Remarks:* If `abs` is called with an argument of type `X` for which
17
  `is_unsigned_v<X>` is `true` and if `X` cannot be converted to `int` by
18
  integral promotion [[conv.prom]], the program is ill-formed.
19
 
20
+ [*Note 1*: Allowing arguments that can be promoted to `int` provides
21
  compatibility with C. — *end note*]
22
 
23
  ``` cpp
24
  constexpr floating-point-type abs(floating-point-type x);
25
  ```
26
 
27
  *Returns:* The absolute value of `x`.
28
 
29
+ See also: ISO C 7.12.8.3, 7.24.7.1
30