Skip to content

Commit 518de3e

Browse files
committed
Add stub section about the default rounding mode
Closes: #1185
1 parent a6eee1c commit 518de3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/modules/ROOT/pages/basics.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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>`.

0 commit comments

Comments
 (0)