source:
branches/GNU/src/gcc/libf2c/libF77/d_abs.c@
1391
| Last change on this file since 1391 was 1391, checked in by , 22 years ago | |
|---|---|
|
|
| File size: 100 bytes | |
| Line | |
|---|---|
| 1 | #include "f2c.h" |
| 2 | |
| 3 | double |
| 4 | d_abs (doublereal * x) |
| 5 | { |
| 6 | if (*x >= 0) |
| 7 | return (*x); |
| 8 | return (-*x); |
| 9 | } |
Note:
See TracBrowser
for help on using the repository browser.
