[Buildroot] C double type problem - at91sam9263

Richard Hardy richardh at oakleafconsultancy.com
Mon Aug 4 13:52:54 UTC 2008


> Do you get any warnings when compiling your test program? What happens
if
> you: test = 1.0;
> 
> I'm thinking maybe it's a casting problem.
> 
> John
> 

If I do:
test = 1.0;
fprintf(stderr, "Test double = %f.\n", test);

I get exactly the same results. i.e. it displays:
1000000

Richard.





More information about the buildroot mailing list