Title
abs(long long) should return long long
Status
nad editorial
Section
[c.math]
Submitter
Niels Dekker

Created on 2007-06-10.00:00:00 last changed 167 months ago

Messages

Date: 2011-03-05.00:04:13

Rationale:

Had already been fixed in the WP by the time the LWG reviewed this.

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [c.math]:

long long abs(long long); // llabs()
Date: 2007-06-10.00:00:00

Quoting the latest draft (n2135), [c.math]:

The added signatures are:

long abs(long); // labs()
long abs(long long); // llabs()

Shouldn't abs(long long) have long long as return type?

History
Date User Action Args
2011-03-05 00:04:13adminsetmessages: + msg5586
2010-10-21 18:28:33adminsetmessages: + msg3451
2007-06-10 00:00:00admincreate