diff options
Diffstat (limited to 'Build/source/utils/pmx/pmx-2.6.21/libf2c/c_abs.c')
-rw-r--r-- | Build/source/utils/pmx/pmx-2.6.21/libf2c/c_abs.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/utils/pmx/pmx-2.6.21/libf2c/c_abs.c b/Build/source/utils/pmx/pmx-2.6.21/libf2c/c_abs.c new file mode 100644 index 00000000000..858f2c8b4b1 --- /dev/null +++ b/Build/source/utils/pmx/pmx-2.6.21/libf2c/c_abs.c @@ -0,0 +1,20 @@ +#include "f2c.h" +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef KR_headers +extern double f__cabs(); + +double c_abs(z) complex *z; +#else +extern double f__cabs(double, double); + +double c_abs(complex *z) +#endif +{ +return( f__cabs( z->r, z->i ) ); +} +#ifdef __cplusplus +} +#endif |