> 4. The C language doesn't guarantee this behaviour. While empirical
> evidence suggests that gcc will evaluate FP constant expressions
> at compile-time, this is really dodgey and beyond specs.
> By Murphy's law, this _will_ break at some point.
But Linux kernel not allowing FP is also beyond specs (the C standard
requires floating point - it is not a optional feature). The spec for
the C language used in the Linux kernel is the language understood by
gcc, and it is quite clear that gcc knows how to do it.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html