Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
figglesonrails
· 12y ago · 0 comments
FWIW, memcpy(&anInt, &aFloat, sizeof(int)) achieves the same thing, is not turned in a real call to memcpy(), and doesn't not break the strict aliasing rule, and does not cause incorrect code to be generated with using `gcc -fstrict-aliasing`.
Comments
No comments yet.
Better HN