9 ASSERT (atoi ("23") == 23);
10 ASSERT (atoi ("023") == 23);
11 ASSERT (atoi ("+23") == +23);
12 ASSERT (atoi ("-23") == -23);
13 ASSERT (atoi ("-32768") == -32768);
14 ASSERT (atoi ("+32767") == +32767);
16 #ifndef __SDCC_pdk14 // Not enough RAM
17 #if !(defined (__SDCC_pdk15) && defined(__SDCC_STACK_AUTO)) // Lack of code memory
18 ASSERT (atol ("-2147483648") == -2147483648l);
19 ASSERT (atol ("2147483647") == 2147483647l);
21 #ifndef __SDCC_pdk15 // Not enough RAM
22 #ifdef __SDCC_LONGLONG
23 ASSERT (atoll ("-2147483648") == -2147483648l);
24 ASSERT (atoll ("2147483647") == 2147483647l);