[ create a new paste ] login | about

Link: http://codepad.org/H5GEqSbq    [ raw code | output | fork ]

C, pasted on Nov 1:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

int main()
{
    float a = 4195835.0f;
    float b = 3145727.0f;
    printf("%0.14f\n", a/b);

    double a1 = 4195835.0f;
    double b1 = 3145727.0f;
    printf("%0.14f\n", a1/b1);

    return 0;
}


Output:
1
2
1.33382046222687
1.33382044913624


Create a new paste based on this one


Comments: