All Numeric Constants and Ratio Helpers
All Numeric Constants and Ratio Helpers
A compact scan page for standard mathematical constants from <numbers> and compile-time rational helpers from <ratio>.
All Numeric Constants and Ratio Helpers
A compact scan page for standard mathematical constants from <numbers> and compile-time rational helpers from <ratio>.
Use reference pages to confirm names, categories, nearby facilities, and the constraints that matter before writing or reviewing code.
<numbers>std::numbers::estd::numbers::pistd::numbers::inv_pistd::numbers::ln2std::numbers::ln10std::numbers::sqrt2std::numbers::sqrt3<ratio>std::ratio<Num, Den>int main() {
// Pick one facility from this reference page.
// Write the smallest program that exercises its main precondition,
// complexity rule, or lifetime constraint before scaling up.
return 0;
}