summaryrefslogtreecommitdiffstats
path: root/libacc/tests/data/floatdouble.c
blob: 264c641b081a59af766703708b9e5678b80a3ae1 (plain)
1
2
3
4
5
6
7
8
9
int main()
{
    // Test coercing values when storing.
    float a = 0.002;
    double b = 0.1f;
    int c = 10.002;
    printf("%g %g %d\n", a, b, c);
    return 0;
}