Re: Float numbers in module programming

From: Jan Engelhardt
Date: Thu Mar 30 2006 - 03:10:10 EST


> If you need a few computations, try to do it with fixed point
> instead if at all possible. Or emulate floating point,
> or have a userspace helper app to do it.

Or try to transform it into integer math, if the precision loss is
acceptable and no integer overflow can occur.


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/