treat all floats to doubles

Ian Lance Taylor iant@google.com
Thu May 27 02:45:00 GMT 2010


Qianqian Fang <fangqq@gmail.com> writes:

> no, it's an Intel Core2Duo. is there anything can do this
> beside "typedef double MyFloat" and replace all "float" in
> my source codes?

That's about it.  There is no generic option for this.

(As it happens there is a -fshort-double option, but there is no
corresponding -flong-float option.)

Ian



More information about the Gcc-help mailing list