This website requires JavaScript.
Explore
Help
Sign In
PrimeDecomp
/
prime
mirror of
https://github.com/PrimeDecomp/prime.git
Watch
2
Star
0
Fork
You've already forked prime
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
1e7dc8884b
prime
/
src
/
Runtime
/
arith.c
16 lines
169 B
C
Raw
Blame
History
#
include
<stdlib.h>
int
abs
(
int
n
)
{
if
(
n
<
0
)
return
(
-
n
)
;
else
return
(
n
)
;
}
long
labs
(
long
n
)
{
if
(
n
<
0
)
return
(
-
n
)
;
else
return
(
n
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink