Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
satbyy
on March 28, 2016
|
parent
|
context
|
favorite
| on:
C++14: floats, bits, and constant expressions
Interestingly, g++ gives out a warning (correctly) when compiled with -O2, but not by default (-O0):
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
So, you're right indeed.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: