[Bug c++/77807] Problem with for loop condition
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 30 17:03:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77807
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |trippels at gcc dot gnu.org
Resolution|--- |INVALID
Severity|major |normal
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
This is not the right forum to ask these kinds of questions.
Your performing integer division. Cast n to long double and it will work.
More information about the Gcc-bugs
mailing list