Re: 32 bit images * -1
Posted by Stephan Saalfeld on May 07, 2010; 11:58am
URL: http://imagej.273.s1.nabble.com/32-bit-images-1-tp3688384p3688386.html
No---that's IEEE 754. There is a positive and a negative 0.
Best,
Stephan
On Fri, 2010-05-07 at 12:08 +0100, Gabriel Landini wrote:
> If I multiply a 32 bit image by -1, the values that were originally 0 are
> returned as -0 with the macro function getPixel() e.g.:
>
> print (getPixel(3,0));
>
> Is that a bug?
>
> Regards
> Gabriel