sqc 0.4.13

Software Code Quality - CERT C compliance checker
/*
 * Rule: FLP06-C
 * Source: wiki
 * Status: PASS - Compliant solution
 */

void func(void) {
  short a = 533;
  int b = 6789;
  long c = 466438237;

  float d = a;
  double e = b;
  double f = c;

  d /= 7; /* d is 76.14286 */
  e /= 30; /* e is 226.3 */
  f *= 789; /* f is 368019768993.0 */
}