This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.

637. §[c.math]/10 inconsistent return values

Section: 29.7 [c.math] Status: NAD Editorial Submitter: Bo Persson Opened: 2007-02-13 Last modified: 2016-02-01

Priority: Not Prioritized

View all other issues in [c.math].

View all issues with NAD Editorial status.

Discussion:

29.7 [c.math], paragraph 10 has long lists of added signatures for float and long double functions. All the signatures have float/long double return values, which is inconsistent with some of the double functions they are supposed to overload.

Proposed resolution:

Change 29.7 [c.math], paragraph 10,

float  ilogb(float);
float  lrint(float);
float  lround(float);
float  llrint(float);
float  llround(float);

long double  ilogb(long double);
long double  lrint(long double);
long double  lround(long double);
long double  llrint(long double);
long double  llround(long double);