|
|
1.1 root 1: /*
2: * Floating absolute value.
3: */
4: #include <math.h>
5:
6: #if EMU87
7: #include "emumath.h"
8: #endif
9:
10: double
11: fabs(x)
12: double x;
13: {
14: if (x < 0.0)
15: x = -x;
16: return (x);
17: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.