Synopsis: | Conversion of integral values to floating types should be avoided since loss of precision can occur. |
Language: | C |
Severity Level: | 4 |
Category: | CONVERSIONS |
Description: |
Since mixed precision arithmetic involves implementation defined and undefined behaviour, it is safer to avoid implicit conversions between floating and integral types. |