source:
trunk/sys/dietlibc/llabs.c
@
390
| Last change on this file since 390 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 135 bytes | |
| Rev | Line | |
|---|---|---|
| [1] | 1 | #include <endian.h> |
| 2 | #include <stdlib.h> | |
| 3 | ||
| 4 | #if __WORDSIZE != 64 | |
| 5 | long long int llabs(long long int i) { if (i<0) i=-i; return i; } | |
| 6 | #endif |
Note: See TracBrowser
for help on using the repository browser.
