@@ -5,16 +5,14 @@ https://www.boost.org/LICENSE_1_0.txt
55////
66
77[#cmath]
8- = cmath support
8+ = `< cmath>` support
99:idprefix: cmath_
1010
11- == <cmath>
12-
1311Decimal contains overloads for all functions from `<cmath>` , and they have the same handling as built-in floating point types.
1412They are also all constexpr with C\\ ++14 unlike the built-in floating point types which require either C++ 23 or 26.
1513Additionally, all functions are marked `noexcept` .
1614
17- === Basic Operations
15+ == Basic Operations
1816
1917|===
2018| Function | Description
@@ -73,7 +71,7 @@ constexpr decimal128_t nand128(const char* arg) noexcept;
7371} // namespace boost
7472----
7573
76- === Exponential Functions
74+ == Exponential Functions
7775
7876|===
7977| Function | Description
@@ -150,7 +148,7 @@ constexpr DecimalType hypot(DecimalType x, DecimalType y, DecimalType z) noexcep
150148} // namespace boost
151149----
152150
153- === Trigonometric Functions
151+ == Trigonometric Functions
154152
155153|===
156154| Function | Description
@@ -194,7 +192,7 @@ constexpr DecimalType atan2(DecimalType x, DecimalType y) noexcept;
194192----
195193
196194
197- === Hyperbolic Functions
195+ == Hyperbolic Functions
198196
199197|===
200198| Function | Description
@@ -233,7 +231,7 @@ constexpr DecimalType atanh(DecimalType x) noexcept;
233231} // namespace boost
234232----
235233
236- === Error and Gamma Functions
234+ == Error and Gamma Functions
237235
238236|===
239237| Function | Description
@@ -264,7 +262,7 @@ constexpr DecimalType lgamma(DecimalType x) noexcept;
264262} // namespace boost
265263----
266264
267- === Nearest integer floating point operations
265+ == Nearest integer floating point operations
268266
269267|===
270268| Function | Description
@@ -318,7 +316,7 @@ constexpr long long llrint(DecimalType x) noexcept;
318316} // namespace boost
319317----
320318
321- === Floating point manipulation functions
319+ == Floating point manipulation functions
322320
323321|===
324322| Function | Description
@@ -373,7 +371,7 @@ constexpr DecimalType copysign(DecimalType mag, DecimalType sgn) noexcept;
373371} // namespace boost
374372----
375373
376- === Classification and comparison
374+ == Classification and comparison
377375
378376|===
379377| Function | Description
@@ -496,6 +494,7 @@ constexpr DecimalType riemann_zeta(IntegralType n) noexcept;
496494} //namespace boost
497495----
498496
497+ [#non_standard_cmath]
499498== Non-standard Functions
500499
501500The following are convenience functions, or are prescribed in IEEE 754-2019 as required for decimal floating point types.
0 commit comments