Fix bug in remainder. FPREM can return negative values for positive
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sat, 31 Oct 1992 23:35:19 +0000 (23:35 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sat, 31 Oct 1992 23:35:19 +0000 (23:35 +0000)
commit07507b196081b003ba1d796a4abfe1d8690c18b8
treec9da20e0d694df52b80437e4d9b19cc974d281d4
parenta462933b231cda57bcd5dab5d0ead682d2ac6698
Fix bug in remainder.  FPREM can return negative values for positive
arguments since it is defined as follows:

FPREM (x, y) = x - (n * y)

where n is the nearest integer to x/y and thus n*y can have an
absolute value greater than x.
v7/src/microcode/cmpauxmd/hppa.m4
v8/src/microcode/cmpauxmd/hppa.m4