Opened 5 years ago
Closed 5 years ago
#13355 closed Bugs (fixed)
Documentation bug on 'Floating-point Comparison' page
| Reported by: | Owned by: | John Maddock | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | math |
| Version: | Boost 1.66.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
Found in: http://www.boost.org/doc/libs/1_66_0/libs/math/doc/html/math_toolkit/float_comparison.html
Newer compilers should provide std::numeric_limitsFPT>::max_digits10 for this purpose
Part in bold is suspicious.
Immediately following that, there's a Note callout box with the more likely variable name:
int max_digits10 = 2 + std::numeric_limits<FPT>::digits10 * 3010/10000;
Change History (2)
comment:1 by , 5 years ago
| Component: | Documentation → math |
|---|---|
| Owner: | changed from to |
comment:2 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in develop - thanks for spotting that!