|
|
|
|
|
by xdavidliu
1327 days ago
|
|
two things wrong with your statement: - the ++ operator only acts on integer types, not floats or doubles, so there is no limit to speak of here - the expression "C++" has value equal to C before incrementing, hence the expression "C/C++" is just one for positive C, even when C is small |
|
It might be a bad idea to use it in many cases (since there are values for which the result is just rounded back to the original value), but it works!