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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [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 2005-12-20 09:42:40 jcastillo 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.