Hello All!
Kelvins good idea in general - it is always positive ;-)
0.01*K fits in 16 bits and gives reasonable range.
but may be something like K<<6 could be a option? (to allow use of shifts
instead of muls/divs). It would be much more easier to extract int part.
just my 2 eurocents.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jun 07 2001 - 21:00:59 EST