Skip to content

Commit 037dd8f

Browse files
committed
Add draft cohorts page and update xrefs
1 parent f156481 commit 037dd8f

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

doc/modules/ROOT/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
** xref:decimal_fast32_t.adoc[]
2828
** xref:decimal_fast64_t.adoc[]
2929
** xref:decimal_fast128_t.adoc[]
30+
* xref:cohorts.adoc[]
3031
* xref:conversions.adoc[]
3132
* xref:literals.adoc[]
3233
* xref:numbers.adoc[]

doc/modules/ROOT/pages/cmath.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ constexpr Decimal normalize(Decimal val) noexcept;
679679
----
680680

681681
Similar to the `frexp10` function above, but rather than returning the normalized significand, and exponent of the Decimal number, it returns a normalized number.
682-
This removes the effects of xref:basics.adoc[cohorts] on the IEEE 754 compliant types.
682+
This removes the effects of xref:cohorts.adoc[cohorts] on the IEEE 754 compliant types which for the example of `decimal32_t` means the significand will be in the range [1'000'000, 9'999'999].
683683
This function has *NO* effect on fast types since they are always normalized internally.
684684

685685
=== `rescale`
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
////
2+
Copyright 2025 Matt Borland
3+
Distributed under the Boost Software License, Version 1.0.
4+
https://www.boost.org/LICENSE_1_0.txt
5+
////
6+
7+
[#cohorts]
8+
= Cohorts
9+
:idprefix: cohorts_

0 commit comments

Comments
 (0)