Quote Originally Posted by Saffith View Post
I get a truncation warning on -100000, but not -99999. Perhaps it truncates the integer part to six digits and is including the minus in that.
It used to be that constants couldn't be negative. It could be related to that; that truncation would have been safe originally.
Add a decimal portion to it. It will error on:

const float NN = -999998.9999;

Any negative integer smaller than 999999. and any negative float smaller than -21473.0001 is truncated.