...
Code Block |
---|
float f(float x) {   return x * 0.1f; } float g(float x) {   return x * 0.1; } |
Function f
is allowed to return a value wider than float
, but function g
(which uses the wider constant) is not.
...
...
Code Block |
---|
float f(float x) {   return x * 0.1f; } float g(float x) {   return x * 0.1; } |
Function f
is allowed to return a value wider than float
, but function g
(which uses the wider constant) is not.
...