Re: [AD] div-by-zero... math3d.c |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
aj wrote:
could the vector_length_f() return zero ?
Certainly, e.g., if all three arguments are zero. Btw, I think this routine would better be implemented as fixhypot(x, fixhypot(y,z)) to avoid the current loss of precision. sven
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |