3 ms·
Perhaps more telling/less nit-pickable is when you modify the function to be float hn_demo(float a, float b, float c) { a = a + b; a = a + b *
by hoseja 6y ago
Perhaps more telling/less nit-pickable is when you modify the function to be
float hn_demo(float a, float b, float c) {
a = a + b;
a = a + b * c;
return a;
}
and let the compiler actually optimize with -02.
- pjmlp 6y agoSure, but it still boils down to the fact that it isn't as 1:1 as many think it is.