Title
Is abs defined in <cmath>?
Status
cd1
Section
[c.math]
Submitter
Jens Maurer

Created on 2001-01-12.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

All this DR does is fix a typo; it's uncontroversial. A separate question is whether we're doing the right thing in putting some overloads in <cmath> that we aren't also putting in <cstdlib>. That's issue 323.

Date: 2010-10-21.18:28:33

[ Copenhagen: Modified proposed resolution so that it also gets rid of that vestigial list of functions in paragraph 1. ]

Date: 2010-10-21.18:28:33

Proposed resolution:

Add abs to Table 80. Also, remove the parenthetical list of functions "(abs(), div(), rand(), srand())" from [numarray], paragraph 1.

Date: 2001-01-12.00:00:00

Table 80 lists the contents of the <cmath> header. It does not list abs(). However, 26.5, paragraph 6, which lists added signatures present in <cmath>, does say that several overloads of abs() should be defined in <cmath>.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2143
2010-10-21 18:28:33adminsetmessages: + msg2142
2010-10-21 18:28:33adminsetmessages: + msg2141
2001-01-12 00:00:00admincreate