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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [i960/] [lib/] [abs.c] - Rev 1765

Compare with Previous | Blame | View Log

/*
 *   FILE: abs.c
 * AUTHOR: kma
 *  DESCR: absolute value; we need this
 */
 
#ident "$Id: abs.c,v 1.1.1.1 2001-09-10 07:43:56 simons Exp $"
 
int abs(int j)
{
	return (j<0)? -j : j;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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