Skip to content

Commit a6cbd3b

Browse files
committed
Improve cmath index
1 parent 770dc61 commit a6cbd3b

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

doc/modules/ROOT/nav.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@
3232
* xref:literals.adoc[]
3333
* xref:numbers.adoc[]
3434
* xref:cmath.adoc[]
35+
** xref:cmath.adoc#basic_cmath_ops[Basic Operations]
36+
** xref:cmath.adoc#cmath_exp[Exponential Functions]
37+
** xref:cmath.adoc#cmath_power_funcs[Power Functions]
38+
** xref:cmath.adoc#cmath_trig_funcs[Trigonometic Functions]
39+
** xref:cmath.adoc#cmath_hyperbolic_funcs[Hyperbolic Functions]
40+
** xref:cmath.adoc#cmath_error_funcs[Error and Gamma Functions]
41+
** xref:cmath.adoc#cmath_nearest_int[Nearest Integer Floating Point]
42+
** xref:cmath.adoc#cmath_manipulation_funcs[Floating Point Manipulation]
43+
** xref:cmath.adoc#cmath_classification[Classification and Comparison]
44+
** xref:cmath.adoc#cmath_spec_fun[Special Functions]
3545
** xref:cmath.adoc#non_standard_cmath[Non-Standard Functions]
3646
* xref:cstdlib.adoc[]
3747
* xref:charconv.adoc[]

doc/modules/ROOT/pages/cmath.adoc

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ constexpr decimal_fast128_t snand128f(const char* arg) noexcept;
8888
} // namespace boost
8989
----
9090

91+
[#cmath_exp]
9192
== Exponential Functions
9293

9394
|===
@@ -133,6 +134,7 @@ constexpr DecimalType log1p(DecimalType x) noexcept;
133134
} // namespace boost
134135
----
135136

137+
[#cmath_power_funcs]
136138
== Power Functions
137139

138140
|===
@@ -169,6 +171,7 @@ constexpr DecimalType hypot(DecimalType x, DecimalType y, DecimalType z) noexcep
169171
} // namespace boost
170172
----
171173

174+
[#cmath_trig_funcs]
172175
== Trigonometric Functions
173176

174177
|===
@@ -214,7 +217,7 @@ constexpr DecimalType atan2(DecimalType x, DecimalType y) noexcept;
214217
} // namespace boost
215218
----
216219

217-
220+
[#cmath_hyperbolic_funcs]
218221
== Hyperbolic Functions
219222

220223
|===
@@ -256,6 +259,7 @@ constexpr DecimalType atanh(DecimalType x) noexcept;
256259
} // namespace boost
257260
----
258261

262+
[#cmath_error_funcs]
259263
== Error and Gamma Functions
260264

261265
|===
@@ -289,6 +293,7 @@ constexpr DecimalType lgamma(DecimalType x) noexcept;
289293
} // namespace boost
290294
----
291295

296+
[#cmath_nearest_int]
292297
== Nearest integer floating point operations
293298

294299
|===
@@ -345,7 +350,8 @@ constexpr long long llrint(DecimalType x) noexcept;
345350
} // namespace boost
346351
----
347352

348-
== Floating point manipulation functions
353+
[#cmath_manipulation_funcs]
354+
== Floating Point Manipulation Functions
349355

350356
|===
351357
| Function | Description
@@ -402,7 +408,8 @@ constexpr DecimalType copysign(DecimalType mag, DecimalType sgn) noexcept;
402408
} // namespace boost
403409
----
404410

405-
== Classification and comparison
411+
[#cmath_classification]
412+
== Classification and Comparison
406413

407414
|===
408415
| Function | Description
@@ -463,7 +470,10 @@ constexpr bool isunordered(DecimalType x, DecimalType y) noexcept;
463470
} // namespace boost
464471
----
465472

466-
== C++17 Mathematical Special Functions
473+
[#cmath_spec_fun]
474+
== Special Functions
475+
476+
These are the special functions that were added in pass:[C++17].
467477

468478
NOTE: This section does not currently contain all functions specified by C++17, but it does contain the ones that are more commonly useful like the Beta Function.
469479

0 commit comments

Comments
 (0)