Quote:
Originally Posted by Jinto Lin
Maybe the numeric value is interpreted as double
|
Yeah, that's apparently the problem. That's why I find it strange that integer literal (which is supposedly assumed to be of type int) can be used to initialize a byte variable with no problem.
Quote:
Though, every decent compiler should be able to interpret it as float if it is meant to initialize a float variable.
|
Well, I just use the compiler that comes with Sun's JDK.