This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! Cut'n'paste considered harmful... 3LL % -10LL is 3LL, not -3LL. 2002-05-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/wordsize-32/divdi3.c (__moddi3): Fix pasto. Patch by <radu@netsoft.ro>. --- libc/sysdeps/wordsize-32/divdi3.c.jj Sun Mar 3 20:42:15 2002 +++ libc/sysdeps/wordsize-32/divdi3.c Tue May 28 19:23:25 2002 @@ -307,10 +307,7 @@ __moddi3 (DWtype u, DWtype v) u = -u; } if (v < 0) - { - c = ~c; - v = -v; - } + v = -v; __udivmoddi4 (u, v, &w); if (c) w = -w; Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |