Mercurial > libavutil.hg
diff softfloat.h @ 633:8c48a1b999a3 libavutil
spelling/grammar/consistency review part I
author | diego |
---|---|
date | Wed, 28 Jan 2009 00:16:05 +0000 |
parents | bd4052d9050c |
children |
line wrap: on
line diff
--- a/softfloat.h Tue Jan 27 00:46:18 2009 +0000 +++ b/softfloat.h Wed Jan 28 00:16:05 2009 +0000 @@ -72,10 +72,9 @@ } /** - * - * @return will not be more denormalized then a+b, so if either input is - * normalized then the output will not be worse then the other input - * if both are normalized then the output will be normalized + * @return Will not be more denormalized than a+b. So if either input is + * normalized, then the output will not be worse then the other input. + * If both are normalized, then the output will be normalized. */ static inline av_const SoftFloat av_mul_sf(SoftFloat a, SoftFloat b){ a.exp += b.exp; @@ -84,9 +83,8 @@ } /** - * - * b has to be normalized and not zero - * @return will not be more denormalized then a + * b has to be normalized and not zero. + * @return Will not be more denormalized than a. */ static av_const SoftFloat av_div_sf(SoftFloat a, SoftFloat b){ a.exp -= b.exp+1; @@ -117,8 +115,7 @@ } /** - * - * rounding is to -inf + * Rounding is to -inf. */ static inline av_const int av_sf2int(SoftFloat v, int frac_bits){ v.exp += frac_bits - ONE_BITS;