Floating point number representation

Postby mmickael on Thu Aug 28, 2003 3:05 am

I used the following representation of a float:

float x;
x = 1.0E+01;

The compiler interpreted x to be 1. not 10. Is this a bug or a limitation of the compiler?

Thanks.

MMickael
mmickael
 
Posts: 3
Joined: Wed Aug 27, 2003 1:30 am

Return to PocketC for Palm OS Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests

cron