#define float double int main(int argc, char* argv[]) { printf("sizeof(float) = %d\n", sizeof(float)); printf("sizeof(double) = %d\n", sizeof(double)); return 0; }
prints: sizeof(float) = 8 sizeof(double) = 8
without the #define, it prints: sizeof(float) = 4 sizeof(double) = 8
sure, it will probably work, if you recompile the WHOLE system including EVERY library, at least every library that is used by all the externals ... well, i hope, none of the libraries uses hand-coded assembler code that requires a float to be a float ... definitely the sse instructions in the devel_ branch will crash your system if you are trying to use them!!!
be warned ... tim