Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!um-math!jeremy@math.lsa.umich.edu From: jeremy@math.lsa.umich.edu (Jeremy Teitelbaum) Newsgroups: comp.lang.c Subject: mp (Multiple Precision Integer Arithmetic Package) Summary: Anyone have a fixed version? Message-ID: <640@stag.math.lsa.umich.edu> Date: 18 May 89 13:44:17 GMT Sender: usenet@math.lsa.umich.edu Reply-To: jeremy@math.lsa.umich.edu (Jeremy Teitelbaum) Distribution: usa Organization: Mathematics Dept., Univ. of Michigan, Ann Arbor Lines: 20 I recently discovered that our SUN 3.4 OS version of the mp library, which does exact integer arithmetic, has a bug in its division routines. In particular, dividing N by M, where M is negative, yields a remainder with incorrect sign. Has anyone either fixed these routines or written new ones which they would be willing to share? If so, please mail to me. Thanks, Jeremy -- Jeremy Teitelbaum Math Dept. U. of Michigan, Ann Arbor. teitelbaum@ub.cc.umich.edu OR jeremy@math.lsa.umich.edu