hihi, doug -

thanx for the suggestion - the notion of computing ut just with subtraction is
really good, since it is likely to be the largest of the three values in most
applications, but i'm a little worried that the 1024 multiplications aren't
large enough when tt gets really large - i'll do the math on it and report its
(provable) range of applicability and accuracy in a few days

more soon,
cal


Chris Landauer
Aerospace Integration Science Center
The Aerospace Corporation
[EMAIL PROTECTED]

> Doug Ambrisko <[EMAIL PROTECTED]> wrote
>       ...
>       /* Subdivide tu. try to becareful of overflow */
>       su = tu * (st * 1024 / tt) / 1024;
>       iu = tu * (it * 1024 / tt) / 1024;
>       uu = tu - (su + iu);
>       ...
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to