Created on 2016-12-15.00:00:00 last changed 95 months ago
[ 2017-01-27 Telecon ]
Priority 3
With P0175R1, we now show in [cmath.syn] three overloads for the sin function: One taking a float, one taking a double, and one taking a long double. However, there is no statement that sin(long double) should actually invoke sinl, presumably delivering extra precision.
An implementation likeinline long double sin(long double x) { return sinf(x); }
seems to satisfy the "effectively cast" requirement, but is certainly unintentional.
The same issue arises for all math functions inherited from C. (Source: Editorial issue #1247)History | |||
---|---|---|---|
Date | User | Action | Args |
2017-01-30 15:36:02 | admin | set | messages: + msg8823 |
2016-12-15 00:00:00 | admin | create |