What Every C Programmer Should Know About Undefined Behavior #1/3
And I always thought this was a clever trick:
I guess the little extra effort to create a union is worth it.
It is undefined behavior to cast an int* to a float* and dereference itLLVM Project Blog: What Every C Programmer Should Know About Undefined Behavior #1/3:
I guess the little extra effort to create a union is worth it.
0 Comments:
Post a Comment
<< Home