This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24518] Intrinsic MOD incorrect for large arg1/arg2 and slow.
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2006 16:46:47 -0000
- Subject: [Bug fortran/24518] Intrinsic MOD incorrect for large arg1/arg2 and slow.
- References: <bug-24518-9236@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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