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  

r_sign.c File Reference

#include "f2c.h"

Go to the source code of this file.


Functions

double r_sign (real *a, real *b)

Function Documentation

double r_sign real   a,
real   b
 

Definition at line 6 of file r_sign.c.

References a.

Referenced by ctcell_().

00008 {
00009 double x;
00010 x = (*a >= 0 ? *a : - *a);
00011 return( *b >= 0 ? x : -x);
00012 }
 

Powered by Plone

This site conforms to the following standards: