This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Behavior of intrinsic function mod in egcs fortan 77
- To: hans at gi dot alaska dot edu
- Subject: Re: Behavior of intrinsic function mod in egcs fortan 77
- From: craig at jcb-sc dot com
- Date: 17 Apr 1999 03:57:56 -0000
- Cc: egcs-bugs at egcs dot cygnus dot com, stampede-linux-bugs at stampede dot org
- Cc: craig at jcb-sc dot com
- References: <Pine.OSF.3.93.990416173350.690F-100000@knut.gi.alaska.edu>
>g77 version pgcc-2.91.57 19980901 (egcs-1.1 release) (from FSF-g77 version
> 0.5.24-19980804)
>Pentium II system w. Stampede Linux 0.89, Kernel version 2.2.5
>(stampede linux bug list is cc'ed)
egcs-bugs is not the right list...you want the list for pgcc (I don't
know the email address offhand).
>Try mod(any_integer_larger_than_+-128,some_iteger), ex:
>
> print*,mod(128,11) gives -7 !!
Not on my Pentium II system running RedHat Linux 5.2 using egcs 1.1.2;
it prints 7, as it (indeed) should.
tq vm, (burley)