gcc/libf2c/libF77/d_abs.c

9 lines
89 B
C
Raw Normal View History

#include "f2c.h"
double d_abs(doublereal *x)
{
if(*x >= 0)
return(*x);
return(- *x);
}