10 lines
92 B
C
10 lines
92 B
C
|
#include "f2c.h"
|
||
|
|
||
|
double d_abs(x)
|
||
|
doublereal *x;
|
||
|
{
|
||
|
if(*x >= 0)
|
||
|
return(*x);
|
||
|
return(- *x);
|
||
|
}
|