OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [i960/] [lib/] [abs.c] - Blame information for rev 1775

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
2
 *   FILE: abs.c
3
 * AUTHOR: kma
4
 *  DESCR: absolute value; we need this
5
 */
6
 
7
#ident "$Id: abs.c,v 1.1.1.1 2001-09-10 07:43:56 simons Exp $"
8
 
9
int abs(int j)
10
{
11
        return (j<0)? -j : j;
12
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.