|
|
1.1 root 1: /*
2: * Return integer absolute value
3: * (This doesn't work on the largest negative integer)
4: */
5:
6: abs(x)
7: {
8: return (x<0 ? -x : x);
9: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.