Opened 7 years ago
Closed 7 years ago
#11429 closed Bugs (fixed)
boost/math/tr1.hpp has minor problem with FLT_EVAL_METHOD
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | math |
Version: | Boost 1.56.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The C99 Standard permits FLT_EVAL_METHOD to have a value of -1.
However the conditional code in math/tr1.hpp assumes that if the value is not 0 or 1 that it must be 2.
Not a big deal.
Note:
See TracTickets
for help on using tickets.
Fixed in https://github.com/boostorg/math/commit/e4ec61699addb24fce491e3abd075c0c9a70f7f1