Doxygen Source Code Documentation
cdf_76.c
Go to the documentation of this file.00001 #include "cdflib.h" 00002 double fifdsign(double mag,double sign) 00003 /************************************************************************ 00004 FIFDSIGN: 00005 transfers the sign of the variable "sign" to the variable "mag" 00006 ************************************************************************/ 00007 /* mag - magnitude */ 00008 /* sign - sign to be transfered */ 00009 { 00010 if (mag < 0) mag = -mag; 00011 if (sign < 0) mag = -mag; 00012 return mag; 00013 00014 } /* END */