This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug fortran/24518] Intrinsic MOD incorrect for large arg1/arg2 and slow.



------- Comment #18 from fxcoudert at gcc dot gnu dot org  2006-10-31 16:46 -------
(In reply to comment #16)
> I understood that remainder (a, b) = a - round (a/b) * b, whereas
>                   mod (a, b) = a - int (a/b) * b
>   and             modulo (a, b) = a - floor (a/b) * b

Right you are, master. :)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24518


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