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]

Re: Behavior of intrinsic function mod in egcs fortan 77


>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)


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