I have a program in C like this:
#include <stdio.h>
int main() {
float number = 0;
scanf("%f", &number);
printf("%f\n", number);
}
And the output is:
ururay@note:~/workspace/c/float-precision$ gcc float-precision.c -o float-precision
ururay@note:~/workspace/c/float-precision$ ./float-precision
5456.367
5456.367188
I have executed this program several times and the output is the same. Is the '188' "appended" to the end of the number because float precision? If so, how could I identify this in binary representation?