Re: ModuloTest fails on mips

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Mon Feb 08 1999 - 13:30:00 EST


Godmar Back writes:
> However, note that on broken FreeBSDs and on the netbsd/arm, what we
> want to return is simply -(a%b) if sgn(a%b) != sgn(a), I think.
> (See the cvs log for soft.c)

Isn't the rule simply that sign(a%b) == sign(a) ?

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:58:01 EDT