What\'s the notation for double precision floating point values in C/C++?
.5 is representing a double or a float value?
I\'m pretty sure 2.0
It's double. Suffix it with f to get float.
And here is the link to reference document: http://en.cppreference.com/w/cpp/language/floating_literal