Content deleted Content added
m →Applicable arrays: Typo fixing, typos fixed: eg. → e.g. using AWB |
|||
Line 18:
This example<ref>[http://ols.fedoraproject.org/GCC/Reprints-2008/sayle-reprint.pdf "A Superoptimizer Analysis of Multiway Branch Code Generation"] by Roger Anthony Sayle</ref> of a C function – returning TRUE if a month (x) contains 30 days (otherwise FALSE), illustrates the concept succinctly
<source lang="c">
if ((unsigned)x >
static const int T[12] ={
return T[x]; /* return with boolean 1 = true, 0=false */
</source>
|