Skip to content

Commit 6e1b6f8

Browse files
authored
Merge pull request #1226 from cppalliance/docs
Fix formatting, wording, and typos in docs
2 parents a6eee1c + 776e2c9 commit 6e1b6f8

19 files changed

+33
-32
lines changed

doc/modules/ROOT/nav.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
* xref:cstdlib.adoc[]
3636
* xref:charconv.adoc[]
3737
* xref:format.adoc[]
38-
** xref:format.adoc#std_format[`<format>`]
39-
** xref:format.adoc#fmt_format[`<fmt/format.h>`]
4038
* xref:cfenv.adoc[]
4139
* xref:cfloat.adoc[]
4240
* xref:cstdio.adoc[]

doc/modules/ROOT/pages/basics.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ NOTE: Due to the differences in decimal and binary floating point numbers there
7171

7272
== Fundamental Operations
7373

74-
The fundamental operations of numerical type (e.g. `>`, `==`, `+`, etc.) are overloaded.
74+
The fundamental operations of numerical types (e.g. `>`, `==`, `+`, etc.) are overloaded.
7575

7676
[source, c++]
7777
----
@@ -96,6 +96,12 @@ int main()
9696
}
9797
----
9898

99+
== Rounding
100+
101+
The default rounding mode for all operations is so-called "banker's rounding", which is to nearest (with ties to even).
102+
Similar to the standard library, the active rounding mode can be changed through floating point environment variables.
103+
For more information see: xref:cfenv.adoc[]
104+
99105
== Using the Library
100106

101107
The entire library can be accessed using the convenience header `<boost/decimal.hpp>`.

doc/modules/ROOT/pages/cfenv.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cfenv]
8-
= `<cfenv>` support
8+
= `<cfenv>` Support
99
:idprefix: cfenv_
1010

1111
WARNING: This is an expert feature.

doc/modules/ROOT/pages/cfloat.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cfloat]
8-
= `<cfloat>` support
8+
= `<cfloat>` Support
99
:idprefix: cfloat_
1010

1111
Macros analogous to those from https://en.cppreference.com/w/cpp/header/cfloat.html[`<cfloat>`] are provided by the library.

doc/modules/ROOT/pages/charconv.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#charconv]
8-
= `<charconv>` support
8+
= `<charconv>` Support
99
:idprefix: charconv_
1010

1111
== <charconv>

doc/modules/ROOT/pages/cmath.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cmath]
8-
= `<cmath>` support
8+
= `<cmath>` Support
99
:idprefix: cmath_
1010

1111
Decimal contains overloads for all functions from `<cmath>`, and they have the same handling as built-in floating point types.

doc/modules/ROOT/pages/cstdio.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cstdio]
8-
= `<cstdio>` support
8+
= `<cstdio>` Support
99
:idprefix: cstdio_
1010

1111
The following functions analogous to those from `<cstdio>` are provided:

doc/modules/ROOT/pages/cstdlib.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cstdlib]
8-
= `<cstdlib>` support
8+
= `<cstdlib>` Support
99
:idprefix: cstdlib_
1010

1111
The following functions analogous to those from https://en.cppreference.com/w/cpp/string/byte/strtof.html[`<cstdlib>`] are provided:

doc/modules/ROOT/pages/decimal128_t.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ https://www.boost.org/LICENSE_1_0.txt
2323
|===
2424

2525
IMPORTANT: Prior to v5.0.0 this type was known as `decimal32`.
26-
This support has been removed in v6.0.0.
26+
This name has been removed in v6.0.0.
2727

2828
The encoding of decimal128_t is in the `xref:conversions.adoc[BID format]`.
2929

doc/modules/ROOT/pages/decimal32_t.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ https://www.boost.org/LICENSE_1_0.txt
2323
|===
2424

2525
IMPORTANT: Prior to v5.0.0 this type was known as `decimal32`.
26-
This support has been removed in v6.0.0.
26+
This name has been removed in v6.0.0.
2727

2828
The encoding of decimal32_t is in the `xref:conversions.adoc[BID format]`.
2929

0 commit comments

Comments
 (0)