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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to