Home
last modified time | relevance | path

Searched refs:neg (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/libs/
Dstdlib.c14 int neg = input < 0; in ltoa() local
15 unsigned long n = neg ? -input : input; in ltoa()
26 if (neg) in ltoa()
/DragonOS-0.1.7/user/libs/libc/src/
Dstdlib.c26 int n = 0, neg = 0; in atoi() local
36 neg = 1; in atoi()
49 return neg ? n : -n; in atoi()