Run Code | API | Code Wall | Users | Misc | Feedback | Login | Theme | Privacy | Patreon |
compile c++ gcc onlineWarning(s): source_file.cpp: In function ‘float Q_rsqrt(float)’: source_file.cpp:12:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] i = * ( long * ) &y; ^ source_file.cpp:14:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] y = * ( float * ) &i; ^ rsqrt: 1 Q_rsqrt: 0.998307168 Q_rsqrt: -0.998307168 Q_rsqrt: -0.998307168 Q_rsqrt: -0.998307168 Q_rsqrt: -0.998307168 |