Re: access violation - again ???

"Arioch /BDV/" <[email protected]> Wed, 25 Aug 2004 00:50:00 +0400
Newsgroups gmane.comp.gis.dspatial.devel
Message-ID <[email protected]>
The stars so gaily glistened... (Thu, 19 Aug 2004 14:04:11 +0000 (UTC) @627)
...while the fading voice of Patrick whispered through the darkness:

 PVL> For float types there is no real equivalent. The problem arises when
 PVL> there is a float value *exactly* equal to FMax. In that case the statement:

Please, look at my latest patch, where i tried to get around this.
I know that there is no minimal positive for double, like 1 for integer.
(there is, of course, but not in the terms of histogram)

 PVL> The problem is that the math dictates that FMax will fall outside
Yes, yes...
At last i had to patch it :-P

 PVL> maximum value (i.e. multiply by 1.0000000000001).

Funny trick. You're are correct, that was the simpliest way around this.
But instead i burried myself into the Code :-)
-- 
WinAMP://none: WinAMP is suffocated
http://Arioch.nm.ru/FL/Fidolook_SL.png    Mail: the_Arioch<at>nm<dot>ru




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285