Making some MSL_C progress (#549)
This commit is contained in:
parent
32fdc38925
commit
2309176a5c
23 changed files with 1456 additions and 263 deletions
13
src/MSL_C.PPCEABI.bare.H/arith.c
Executable file
13
src/MSL_C.PPCEABI.bare.H/arith.c
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
int abs(int n) {
|
||||
if (n < 0)
|
||||
return (-n);
|
||||
else
|
||||
return (n);
|
||||
}
|
||||
|
||||
long labs(long n) {
|
||||
if (n < 0)
|
||||
return (-n);
|
||||
else
|
||||
return (n);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue