Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this noncompliant example, an int is converted to float.:

Code Block
bgColor#FFcccc
langc
#include <stdio.h>

int main() {
  int big = 1234567890;
  float approx = big;
  printf("%d\n", (big - (int)approx));
  return 0;
}

...