>>>
>>>The formula is unnamed, but is indicated as being the most accurate.
>>>
>>This one looks simplier (from Fox2x samples):
>
>Simpler isn't always better. "Samples" are seldom the best practice.
>
>The wikipedia page says the third formula is the most accurate and that the others have large rounding errors at close distances.
>
>Thanks
Wikipedia says:) Did you really see that rounding error?
Cetin