Doxygen Source Code Documentation
cdf_76.c File Reference
#include "cdflib.h"
Go to the source code of this file.
Functions | |
double | fifdsign (double mag, double sign) |
Function Documentation
|
Definition at line 2 of file cdf_76.c. Referenced by E0001(), and erf1().
00004 : 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 } /* END */ |