Support for directional data

Sylvain Bougerel sylvain.bougerel.devel at gmail.com
Tue Oct 21 09:56:08 UTC 2008


On Tue, Oct 21, 2008 at 4:17 PM, Paul Harris <paulharris at computer.org> wrote:
>
>
> 2008/10/21 Sylvain Bougerel <sylvain.bougerel.devel at gmail.com>
>>
>>
>> Any suggestion concerning the other distance calculation that we should
>> include?
>>
>
> This is very interesting although not applicable to my environment ...
> If you can catch double/float overflows (or at least check for them), then
> you could do the simple calculation first, and if it overflows, then do the
> slow version.
>

Well, I have no idea how to do that.

If anybody knows, please help. The idea is to *reliably* catch
overflow during a multiplication and addition for "float" or "double"
Thanks.



More information about the libkdtree-devel mailing list