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

Bug#632031: convert: gray colorspace creates broken postscript



On Thu, Jun 30, 2011 at 12:45 PM, Christoph Nodes <nodes@bfw-online.de> wrote:
> On Thu, 30 Jun 2011 12:20:05 +0200
> Bastien ROUCARIES <roucaries.bastien@gmail.com> wrote:
>
>> The patch on glibc bugzilla will do that, when truncating it will
>> print that you want
>
> Right. But still no solution for us since we have a large code-base
> with many spots we would have to examine and change as necessary.


I will close this bug if you could not reproduce the following faillure with:
- printf("%.20f\n",someint < 2^64 -1)

and fesetround(mode)
set to rounding up mode

I suspect it could not be the case
Between 2^52=4,503,599,627,370,496 and 2^53=9,007,199,254,740,992 the
representable numbers are exactly the integers. For the next range,
from 253 to 254, everything is multiplied by 2, so the representable
numbers are the even ones, etc. Conversely, for the previous range
from 251 to 252, the spacing is 0.5, etc.

You are no conformant to IEEE 754-2008 or IEEE_754-1985

0^- will be rounded to 0^+ with your shame

The only bug is that imagemagick should test IEEE_754-1985

> Thanks anyway,
> Christoph
>
>



Reply to: