...
Code Block | ||||
---|---|---|---|---|
| ||||
#include <limits.h>
signed long s_a;
signed long result;
void func(void) {
/* Initialize s_a and result */
if (s_a == INT_MIN) {
/* Handle error condition */
} else {
result = -s_a;
}
/* ... */
}
|
...