 
                            ...
Widening conversions resulting from integer promotions preserve the overall magnitude of the number. However, promotions in which the operands are converted from an int to a float or from a long to a double can cause unexpected loss of precision. (See guideline FLP10-J. Avoid casting Do not cast primitive integer types to floating-point types without range checks for more details.) 
...