2011/8/27 c.
On 27 Aug 2011, at 18:37, Jordi Gutiérrez Hermoso wrote:
> If that's the version of pow you intended to call,
> there is nothing
> wrong in disambiguating the call with a cast, especially if it's not a
> C-style cast. If that fixes your build, I suggest you push that patch.
> I am not seeing this problem on a more recent g++.
I was just concerned that casting back-and-forth from int to double might
introduce some unexpected behaviour due to roundoff, do you think it is always safe
to use that approach to do power elevation with integer inputs?
> - Jordi G. H.
c.