------- Comment #7 from fxcoudert at gcc dot gnu dot org 2006-10-25 08:19 ------- I'm adding Steve Kargl to the CC list, since he's our arithmetics expert :)
(In reply to comment #6) > Revision 118024 clears the way for MOD and MODULO implementation: > http://gcc.gnu.org/ml/gcc-cvs/2006-10/msg00703.html Just to be sure I understand: we are garanteed that BUILT_IN_REMAINDER{F,,L} and BUILT_IN_FMOD{F,,L} are always available, right? > BTW: I don't know fortran requirements, but built-in functions produce faster > code if errno is not needed. -mno-math-errno should be used in this case. [Hum... I think you mean -fno-math-errno.] gfortran doesn't have a need for errno to be set after math functions are called. However, we do want that have "correct" results in all cases: Inf, NaN, subnormals, etc. From my reading of the manual, -fno-math-errno would imply that we do not get such correct results, am I right? -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu dot org Last reconfirmed|2006-10-22 21:01:38 |2006-10-25 08:19:20 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24518