source:
trunk/sys/dietlibc/llabs.c
@
112
| Last change on this file since 112 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 135 bytes | |
| Line | |
|---|---|
| 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.
