sorry, i guess is wrong, the ARM9 support soft double type, and i write a sample, the code is
#include <stdio.h>
int main()
{
double a = 3.1415926;
double b = 4.57283;
double result;
result = a/b;
printf("a=%f, b=%f, result=%f\n", a, b, result);
return 0;
}
#include <stdio.h>
int main()
{
double a = 3.1415926;
double b = 4.57283;
double result;
result = a/b;
printf("a=%f, b=%f, result=%f\n", a, b, result);
return 0;
}
To copy to clipboard, switch view to plain text mode
use arm-linux-gcc-4.3.3 compile, and then let run in ARM board, the printed result is true.
Bookmarks