This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12904] in header: #define kTWOPI = 6.28 in function: 1.0/kTWOPI = 1.57 ???
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2003 08:51:02 -0000
- Subject: [Bug c++/12904] in header: #define kTWOPI = 6.28 in function: 1.0/kTWOPI = 1.57 ???
- References: <20031105033944.12904.ardashev@legsux5.phy.bnl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12904
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-05 08:51 -------
That sounds right, you have to do this instead:
#define kTWOPI (2*kPI)