forked from OSchip/llvm-project
[libc++] [LWG3201] Update status page: lerp should be marked noexcept.
Summary: Update status page and test synopsis. Add synopsis in <cmath>. Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D80456
This commit is contained in:
parent
51a276c759
commit
d1dbda10ce
|
@ -296,6 +296,10 @@ floating_point trunc (arithmetic x);
|
|||
float truncf(float x);
|
||||
long double truncl(long double x);
|
||||
|
||||
constexpr float lerp(float a, float b, float t) noexcept; // C++20
|
||||
constexpr double lerp(double a, double b, double t) noexcept; // C++20
|
||||
constexpr long double lerp(long double a, long double b, long double t) noexcept; // C++20
|
||||
|
||||
} // std
|
||||
|
||||
*/
|
||||
|
|
|
@ -8,10 +8,9 @@
|
|||
// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17
|
||||
// <cmath>
|
||||
|
||||
// constexpr float lerp(float a, float b, float t);
|
||||
// constexpr double lerp(double a, double b, double t);
|
||||
// constexpr long double lerp(long double a, long double b, long double t);
|
||||
|
||||
// constexpr float lerp(float a, float b, float t) noexcept;
|
||||
// constexpr double lerp(double a, double b, double t) noexcept;
|
||||
// constexpr long double lerp(long double a, long double b, long double t) noexcept;
|
||||
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
|
|
@ -477,7 +477,7 @@
|
|||
<tr><td><a href="https://wg21.link/LWG3175">3175</a></td><td>The <tt>CommonReference</tt> requirement of concept <tt>SwappableWith</tt> is not satisfied in the example</td><td>Prague</td><td></td></tr>
|
||||
<tr><td><a href="https://wg21.link/LWG3194">3194</a></td><td><tt>ConvertibleTo</tt> prose does not match code</td><td>Prague</td><td></td></tr>
|
||||
<tr><td><a href="https://wg21.link/LWG3200">3200</a></td><td><tt>midpoint</tt> should not constrain <tt>T</tt> is complete</td><td>Prague</td><td></td></tr>
|
||||
<tr><td><a href="https://wg21.link/LWG3201">3201</a></td><td><tt>lerp</tt> should be marked as <tt>noexcept</tt></td><td>Prague</td><td></td></tr>
|
||||
<tr><td><a href="https://wg21.link/LWG3201">3201</a></td><td><tt>lerp</tt> should be marked as <tt>noexcept</tt></td><td>Prague</td><td>Complete</td></tr>
|
||||
<tr><td><a href="https://wg21.link/LWG3226">3226</a></td><td><tt>zoned_time</tt> constructor from <tt>string_view</tt> should accept <tt>zoned_time<Duration2, TimeZonePtr2></tt></td><td>Prague</td><td></td></tr>
|
||||
<tr><td><a href="https://wg21.link/LWG3233">3233</a></td><td>Broken requirements for <tt>shared_ptr</tt> converting constructors</td><td>Prague</td><td></td></tr>
|
||||
<tr><td><a href="https://wg21.link/LWG3237">3237</a></td><td>LWG 3038 and 3190 have inconsistent PRs</td><td>Prague</td><td></td></tr>
|
||||
|
|
Loading…
Reference in New Issue