This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: What is acceptable for -ffast-math? (Was: associative law in combine)


Linus Torvalds <torvalds@transmeta.com> writes:

| Look again:
| 
|   {"fast-math", &flag_fast_math, 1,
|    "Improve FP speed by violating ANSI & IEEE rules" },
| 
| and realize that even something simple as "double" doesn't historcially
| have an exact meaning in C (ie you can _not_ assume specific ranges or
| specific IEEE rounding in traditional C - it was left up to the
| implementor to do as best he could with what hardware was available).
| 
| That means that traditionally, you don't even know what overflows or not,

You don't need to have an IEEE implementation before speaking of
overflow.  That is the point you seem to miss.

|   you're arguing for small-mindedness everywhere. ]

like yours?

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]