Subversion Repositories HelenOS-historic

Rev

Rev 1196 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1196 Rev 1702
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
 /** @addtogroup genarch   
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
-
 
33
 */
-
 
34
 
29
#include <genarch/softint/division.h>
35
#include <genarch/softint/division.h>
30
 
36
 
31
#define ABSVAL(x) ( (x) > 0 ? (x) : -(x))
37
#define ABSVAL(x) ( (x) > 0 ? (x) : -(x))
32
#define SGN(x) ( (x) >= 0 ? 1 : 0 )
38
#define SGN(x) ( (x) >= 0 ? 1 : 0 )
33
                     
39
                     
Line 184... Line 190...
184
{
190
{
185
    return divandmod64(a, b, c);
191
    return divandmod64(a, b, c);
186
}
192
}
187
 
193
 
188
 
194
 
-
 
195
 
-
 
196
 /** @}
-
 
197
 */
-
 
198