summaryrefslogblamecommitdiff
path: root/src/stdlib/labs.c
blob: 675b95b8ef762df5671591c64680eb593f1babcc (plain) (tree)
1
2
3
4



                            
long labs(long a)
{
	return a>0 ? a : -a;
}