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_36.c File Reference

#include "cdflib.h"

Go to the source code of this file.


Functions

double dbetrm (double *a, double *b)

Function Documentation

double dbetrm double *    a,
double *    b
 

Definition at line 2 of file cdf_36.c.

References a, dbetrm(), dstrem(), fifdmax1(), and fifdmin1().

Referenced by dbetrm().

00035 {
00036 static double dbetrm,T1,T2,T3;
00037 /*
00038      ..
00039      .. Executable Statements ..
00040 */
00041 /*
00042      Try to sum from smallest to largest
00043 */
00044     T1 = *a+*b;
00045     dbetrm = -dstrem(&T1);
00046     T2 = fifdmax1(*a,*b);
00047     dbetrm += dstrem(&T2);
00048     T3 = fifdmin1(*a,*b);
00049     dbetrm += dstrem(&T3);
00050     return dbetrm;
00051 } /* END */
 

Powered by Plone

This site conforms to the following standards: