Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixed definition for main

...

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

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

...

Code Block
bgColor#ccccff
langc
#include <assert.h>
#include <stdio.h>
#include <float.h>
#include <limits.h>
 
int main(void) {
  assert(UWIDTH(INT_MAX) <= DBL_MANT_DIG);
  int big = 1234567890;
  double approx = big;
  printf("%d\n", (big - (int)approx));
  return 0;
}

...