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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [i960/] [lib/] [abs.c] - Blame information for rev 1777

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

Line No. Rev Author Line
1 1623 jcastillo
/*
2
 *   FILE: abs.c
3
 * AUTHOR: kma
4
 *  DESCR: absolute value; we need this
5
 */
6
 
7
#ident "$Id: abs.c,v 1.1 2005-12-20 09:42:40 jcastillo 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.