[ODE] 0.8.2 candidate

Remi Ricard remi.ricard at simlog.com
Tue Oct 2 09:12:11 MST 2007


Hi Oleh,

> Well, why don't we then add another variant of normalization function which 
> would find maximal component and divide by it before length calculation? 
> That function could be used everywhere where it is known that vectors could 
> be rather long.
>   

This is not what it is done in function dNormalize3  from the file 
odemath.cpp


Remi
> Oleh Derevenko
> -- ICQ: 36361783
>
> ----- Original Message ----- 
> From: "Jon Watte" <hplus at mindcontrol.org>
> To: "Oleh Derevenko"
>
>
>   
>> If you do the analysis of how the bit errors propagate, the distortion in 
>> direction is insignificant compared to the length problem.
>>
>>
>> Oleh Derevenko wrote:
>>     
>>> By introducing extra multiplication before length calculation you will
>>> decrease error of addition operation but introduce more distortion to 
>>> vector
>>> direction because that multiplication will be a separate operation and 
>>> its
>>> result will be truncated to precision of float as well.
>>>
>>>       
>
>
> _______________________________________________
> ODE mailing list
> ODE at ode.org
> http://ode.org/mailman/listinfo/ode
>
>   



More information about the ODE mailing list