This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/26020] std::advance() isn't stable for floating point numbers



------- Comment #4 from gdr at integrable-solutions dot net  2006-01-30 00:35 -------
Subject: Re:  std::advance() isn't stable for floating point numbers

"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:

| AFAICS, the standard is silent about this issue. I think the suggested change
| is correct.

I believe Martin Sebor filled a related PR, whereby we should have
converted n to *some* integral type before proceeding...

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26020


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]