finish up the implementation of std::midpoint - add the floating point implementation.
Add a new header file in test/support for doing FP testing.
Set the feature test macros; even though we don't do lerp yet - that's coming next.
Paths
| Differential D61014
Implement std::midpoint for floating point types ClosedPublic Authored by mclow.lists on Apr 23 2019, 6:48 AM.
Details
Diff Detail Event Timeline
Comment Actions Updated the <version> header using the tool. mclow.lists added inline comments.
zoecarver marked an inline comment as done. Comment ActionsLGTM :)
This revision is now accepted and ready to land.Apr 23 2019, 7:15 PM mclow.lists marked 3 inline comments as done. Comment ActionsCommitted as revision 359184
mclow.lists added inline comments.
Revision Contents
Diff 196332 libcxx/docs/FeatureTestMacroTable.rst
libcxx/include/numeric
libcxx/include/version
libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.float.pass.cpp
libcxx/test/support/fp_compare.h
libcxx/utils/generate_feature_test_macro_components.py
|
Is there any overlap between cmath and numeric which might confuse the compiler?