On 12/09/2011 03:05 PM, BELBACHIR Selim wrote: > int main() { > int x; > float af; > ff(&x); > af = f2(1.0f); > return *((int *)(&af)); > }
Please try this again, but with a union rather than a pointer cast. I don't think this code is legal C. Andrew.