GPS4Palm

Source Code Documentation


MathLib.c File Reference

#include <PalmOS.h>
#include <PalmCompatibility.h>
#include "MathLib.h"

Include dependency graph for MathLib.c:

Go to the source code of this file.

Functions

double acos (double x)
double asin (double x)
double atan (double x)
double atan2 (double y, double x)
double cos (double x)
double sin (double x)
double tan (double x)
void sincos (double x, double *sinx, double *cosx)
double cosh (double x)
double sinh (double x)
double tanh (double x)
double acosh (double x)
double asinh (double x)
double atanh (double x)
double exp (double x)
double frexp (double x, Int *exponent)
double ldexp (double x, Int exponent)
double log (double x)
double log10 (double x)
double modf (double x, double *intpart)
double expm1 (double x)
double log1p (double x)
double logb (double x)
double log2 (double x)
double pow (double x, double y)
double sqrt (double x)
double hypot (double x, double y)
double cbrt (double x)
double ceil (double x)
double fabs (double x)
double floor (double x)
double fmod (double x, double y)
Int isinf (double x)
Int finite (double x)
double scalbn (double x, Int exponent)
double drem (double x, double y)
double significand (double x)
double copysign (double x, double y)
Int isnan (double x)
Int ilogb (double x)
double rint (double x)
double nextafter (double x, double y)
double remainder (double x, double y)
double scalb (double x, double exponent)
double round (double x)
double trunc (double x)
ULong signbit (double x)

Variables

UInt MathLibRef


Function Documentation

double acos double  x  ) 
 

Definition at line 51 of file MathLib.c.

References MathLibACos(), and MathLibRef.

double acosh double  x  ) 
 

Definition at line 115 of file MathLib.c.

References MathLibACosH(), and MathLibRef.

double asin double  x  ) 
 

Definition at line 57 of file MathLib.c.

References MathLibASin(), and MathLibRef.

Referenced by gc_dist_sphere().

double asinh double  x  ) 
 

Definition at line 121 of file MathLib.c.

References MathLibASinH(), and MathLibRef.

double atan double  x  ) 
 

Definition at line 63 of file MathLib.c.

References MathLibATan(), and MathLibRef.

double atan2 double  y,
double  x
 

Definition at line 69 of file MathLib.c.

References MathLibATan2(), and MathLibRef.

Referenced by gc_course_sphere().

double atanh double  x  ) 
 

Definition at line 127 of file MathLib.c.

References MathLibATanH(), and MathLibRef.

double cbrt double  x  ) 
 

Definition at line 211 of file MathLib.c.

References MathLibCbrt(), and MathLibRef.

double ceil double  x  ) 
 

Definition at line 217 of file MathLib.c.

References MathLibCeil(), and MathLibRef.

double copysign double  x,
double  y
 

Definition at line 271 of file MathLib.c.

References MathLibCopySign(), and MathLibRef.

double cos double  x  ) 
 

Definition at line 75 of file MathLib.c.

References MathLibCos(), and MathLibRef.

Referenced by calcxy(), Convert_Geodetic_To_Transverse_Mercator(), Convert_Transverse_Mercator_To_Geodetic(), gc_course_sphere(), gc_dist_sphere(), and NavigationFormHandleEvent().

double cosh double  x  ) 
 

Definition at line 97 of file MathLib.c.

References MathLibCosH(), and MathLibRef.

double drem double  x,
double  y
 

Definition at line 259 of file MathLib.c.

References MathLibDRem(), and MathLibRef.

double exp double  x  ) 
 

Definition at line 133 of file MathLib.c.

References MathLibExp(), and MathLibRef.

Referenced by ReadFromGPS().

double expm1 double  x  ) 
 

Definition at line 169 of file MathLib.c.

References MathLibExpM1(), and MathLibRef.

double fabs double  x  ) 
 

Definition at line 223 of file MathLib.c.

References MathLibFAbs(), and MathLibRef.

Referenced by calcxy(), Convert_Geodetic_To_Transverse_Mercator(), and Convert_Transverse_Mercator_To_Geodetic().

Int finite double  x  ) 
 

Definition at line 247 of file MathLib.c.

References MathLibFinite(), and MathLibRef.

double floor double  x  ) 
 

Definition at line 229 of file MathLib.c.

References MathLibFloor(), and MathLibRef.

Referenced by Lat_To_UTM_Belt().

double fmod double  x,
double  y
 

Definition at line 235 of file MathLib.c.

References MathLibFMod(), and MathLibRef.

Referenced by gc_course_sphere().

double frexp double  x,
Int *  exponent
 

Definition at line 139 of file MathLib.c.

References MathLibFrExp(), and MathLibRef.

double hypot double  x,
double  y
 

Definition at line 205 of file MathLib.c.

References MathLibHypot(), and MathLibRef.

Int ilogb double  x  ) 
 

Definition at line 283 of file MathLib.c.

References MathLibILogB(), and MathLibRef.

Int isinf double  x  ) 
 

Definition at line 241 of file MathLib.c.

References MathLibIsInf(), and MathLibRef.

Int isnan double  x  ) 
 

Definition at line 277 of file MathLib.c.

References MathLibIsNaN(), and MathLibRef.

double ldexp double  x,
Int  exponent
 

Definition at line 145 of file MathLib.c.

References MathLibLdExp(), and MathLibRef.

double log double  x  ) 
 

Definition at line 151 of file MathLib.c.

References MathLibLog(), and MathLibRef.

double log10 double  x  ) 
 

Definition at line 157 of file MathLib.c.

References MathLibLog10(), and MathLibRef.

double log1p double  x  ) 
 

Definition at line 175 of file MathLib.c.

References MathLibLog1P(), and MathLibRef.

double log2 double  x  ) 
 

Definition at line 187 of file MathLib.c.

References MathLibLog2(), and MathLibRef.

double logb double  x  ) 
 

Definition at line 181 of file MathLib.c.

References MathLibLogB(), and MathLibRef.

double modf double  x,
double *  intpart
 

Definition at line 163 of file MathLib.c.

References MathLibModF(), and MathLibRef.

double nextafter double  x,
double  y
 

Definition at line 295 of file MathLib.c.

References MathLibNextAfter(), and MathLibRef.

double pow double  x,
double  y
 

Definition at line 193 of file MathLib.c.

References MathLibPow(), and MathLibRef.

Referenced by calcR(), Convert_Geodetic_To_Transverse_Mercator(), and Convert_Transverse_Mercator_To_Geodetic().

double remainder double  x,
double  y
 

Definition at line 301 of file MathLib.c.

References MathLibRef, and MathLibRemainder().

double rint double  x  ) 
 

Definition at line 289 of file MathLib.c.

References MathLibRef, and MathLibRInt().

double round double  x  ) 
 

Definition at line 313 of file MathLib.c.

References MathLibRef, and MathLibRound().

double scalb double  x,
double  exponent
 

Definition at line 307 of file MathLib.c.

References MathLibRef, and MathLibScalB().

double scalbn double  x,
Int  exponent
 

Definition at line 253 of file MathLib.c.

References MathLibRef, and MathLibScalBN().

ULong signbit double  x  ) 
 

Definition at line 325 of file MathLib.c.

References MathLibRef, and MathLibSignBit().

double significand double  x  ) 
 

Definition at line 265 of file MathLib.c.

References MathLibRef, and MathLibSignificand().

double sin double  x  ) 
 

Definition at line 81 of file MathLib.c.

References MathLibRef, and MathLibSin().

Referenced by calcR(), Convert_Geodetic_To_Transverse_Mercator(), Convert_Transverse_Mercator_To_Geodetic(), gc_course_sphere(), and gc_dist_sphere().

void sincos double  x,
double *  sinx,
double *  cosx
 

Definition at line 93 of file MathLib.c.

References MathLibRef, and MathLibSinCos().

double sinh double  x  ) 
 

Definition at line 103 of file MathLib.c.

References MathLibRef, and MathLibSinH().

double sqrt double  x  ) 
 

Definition at line 199 of file MathLib.c.

References MathLibRef, and MathLibSqrt().

Referenced by gc_dist_sphere().

double tan double  x  ) 
 

Definition at line 87 of file MathLib.c.

References MathLibRef, and MathLibTan().

Referenced by Convert_Geodetic_To_Transverse_Mercator(), and Convert_Transverse_Mercator_To_Geodetic().

double tanh double  x  ) 
 

Definition at line 109 of file MathLib.c.

References MathLibRef, and MathLibTanH().

double trunc double  x  ) 
 

Definition at line 319 of file MathLib.c.

References MathLibRef, and MathLibTrunc().


Variable Documentation

UInt MathLibRef
 

Definition at line 47 of file MathLib.c.

Referenced by acos(), acosh(), asin(), asinh(), atan(), atan2(), atanh(), cbrt(), ceil(), copysign(), cos(), cosh(), drem(), exp(), expm1(), fabs(), finite(), floor(), fmod(), frexp(), hypot(), ilogb(), isinf(), isnan(), ldexp(), log(), log10(), log1p(), log2(), logb(), modf(), nextafter(), pow(), remainder(), rint(), round(), scalb(), scalbn(), signbit(), significand(), sin(), sincos(), sinh(), sqrt(), tan(), tanh(), and trunc().


Created: Mon, 08 Oct 2007 22:33:16 +0200
Copyright ©2004 M. Prinke