On Tue, 19 Sep 2000, Richard B. Johnson wrote:
> long int radians = (long) (2.0 * 3.141592654 * (float) HZ);
Just out of curiosity: what's that cast to float about? Have it spring
into the eye of a casual reader? That pi constant already is a double
and C implicitly casts to the type with the wider range/higher
precision.
-- Matthias Andree - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:23 EST