This is probably as simple as it gets, but here goes:
This is my code:
And this is my output:Code:main(){ float alpha=0.9; printf("alpha=%d\n",alpha); }
What gives? The same thing happens when I change from "float" to "double". I'm compiling using gcc on Mac OS X, if that helps at all...Code:alpha=1072483532