Opened 11 years ago

Closed 11 years ago

#5982 closed Bugs (fixed)

Wrong value of `one_div_two_pi' in <boost/math/constants/constants.hpp>

Reported by: Ai Azuma <ai.azuma@…> Owned by: John Maddock
Milestone: To Be Determined Component: math
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

The value of `one_div_two_pi' defined in <boost/math/constants/constants.hpp> is wrong, although it is neither documented nor used in any other component.

Change History (5)

comment:1 by John Maddock, 11 years ago

Resolution: fixed
Status: newclosed

(In [74890]) Remove unused constants. Fix expression for tolerance in eps_tolerance. Add include guards to prime.hpp. Fixes #5982. Fixes #5927. Fixes #6001.

comment:2 by John Maddock, 11 years ago

(In [74984]) Merge recent bug fixes from Trunk. Refs #6014 Refs #5832 Refs #5934 Refs #6001 Refs #5982 Refs #5914 Refs #5927

comment:3 by patrick.h.wyant.ctr@…, 11 years ago

This bug is not closed in 1_48_0. "one_div_two_pi" still appears in <boost/math/constants/constants.hpp>, with the numeric value of "half_root_two".

comment:4 by Marshall Clow, 11 years ago

Resolution: fixed
Status: closedreopened

comment:5 by John Maddock, 11 years ago

Resolution: fixed
Status: reopenedclosed

(In [76099]) Remove unused constant. Fixes #5982.

Note: See TracTickets for help on using tickets.