Versions Compared

Key

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

...

Code Block
#include <stdio.h>

int main() {
  float f = 1.0 / 3.0;
  printf("Float is %.50f\n", f);
  return 0;
}

On 64-bit Linux, with gcc GCC 4.1, this produces:

Code Block
Float is 0.33333334326744079589843750000000000000000000000000

...