octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ambiguous call to "pow(int, unsigned int&)" in __magick_read__.cc:76


From: Jordi Gutiérrez Hermoso
Subject: Re: ambiguous call to "pow(int, unsigned int&)" in __magick_read__.cc:763
Date: Sun, 28 Aug 2011 13:27:06 -0500

2011/8/28 c. <address@hidden>:

> I see at other places in the file the same problem is handled by
>
>  // FIXME -- maybe simply using bit shifting would be better?
>  unsigned int div_factor = pow (2.0, static_cast<int> (bitdepth)) - 1;
>
> do, is it OK if I push the attached patch?
> c.

That seems like it should be done by bitshifting indeed. Why don't you
push a bitshifting patch instead?

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]