reactos/lib/sdk/crt/math/abs.c

16 lines
207 B
C
Raw Normal View History

/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#ifdef _MSC_VER
#pragma warning(disable: 4164)
#pragma function(abs)
#endif
/*
* @implemented
*/
int
abs(int j)
{
return j<0 ? -j : j;
}