Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

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 */
 

Powered by Plone

This site conforms to the following standards: