Merge from vendor branch GCC:
[dragonfly.git] / contrib / gcc-3.4 / libf2c / libF77 / r_abs.c
1 #include "f2c.h"
2
3 double
4 r_abs (real * x)
5 {
6   if (*x >= 0)
7     return (*x);
8   return (-*x);
9 }