[Bug c++/12904] in header: #define kTWOPI = 6.28 in function: 1.0/kTWOPI = 1.57 ???

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 5 08:51:00 GMT 2003


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)



More information about the Gcc-bugs mailing list