------- Comment #8 from eli dot osherovich at gmail dot com 2010-03-19 13:27 ------- (In reply to comment #6) > Also: 1e22 is not exactly representable as a floating point number. By > consequence, 1e22 is different numbers when stored as a double or a > long double, and we should expect different results when applying the > sine to it. > > W. > This is *not* a problem of binary representation. I tried to use exactly the same argument (one time double, another time *promoted* to long double). The function is not implemented correctly, or, at least for some numbers in legal range.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43405