logo

Macro Programming

logo
Contents

math Class Reference

math class More...

#include <math.h>

List of all members.


Static Public Member Functions

static double acos (double a)
 acos
static double asin (double a)
 asin
static double atan (double a)
 atan
static double cos (double a)
 cos
static double cosh (double a)
 cosh
static double exp (double a)
 exp
static double log (double a)
 log
static double log10 (double a)
 log10
static double pow (double a, double b)
 pow
static double sin (double a)
 sin
static double sinh (double a)
 sinh
static double sqrt (double a)
 sqrt
static double tan (double a)
 tan
static double tanh (double a)
 tanh

Static Public Attributes

static const double
 sqrt1_2
static const double e
 constant e
static const double ln10
 ln10
static const double ln2
 ln2
static const double log10e
 log10e
static const double log2e
 log2e
static const double pi
 constant PI

Detailed Description

math class

class to access math functions


Member Function Documentation

static double math::acos ( double  a  )  [static]

acos

Returns:
acos

static double math::asin ( double  a  )  [static]

asin

Returns:
asin

static double math::atan ( double  a  )  [static]

atan

Returns:
atan

static double math::cos ( double  a  )  [static]

cos

Returns:
cos

static double math::cosh ( double  a  )  [static]

cosh

Returns:
cosh

static double math::exp ( double  a  )  [static]

exp

Returns:
exp

static double math::log ( double  a  )  [static]

log

Returns:
log

static double math::log10 ( double  a  )  [static]

log10

Returns:
log10

static double math::pow ( double  a,
double  b 
) [static]

pow

Returns:
pow

static double math::sin ( double  a  )  [static]

sin

Returns:
sin

static double math::sinh ( double  a  )  [static]

sinh

Returns:
sinh

static double math::sqrt ( double  a  )  [static]

sqrt

Returns:
sqrt

static double math::tan ( double  a  )  [static]

tan

Returns:
tan

static double math::tanh ( double  a  )  [static]

tanh

Returns:
tanh


Member Data Documentation

static const math::double [static]

sqrt1_2

Returns:
returns pi/2=1.57079632679489661923

const double math::e [static]

constant e

Returns:
returns 2.71828182845904523536

const double math::ln10 [static]

ln10

Returns:
returns ln(10)=2.30258509299404568402;

const double math::ln2 [static]

ln2

Returns:
returns ln(2)=0.693147180559945309417

const double math::log10e [static]

log10e

Returns:
returns log10(e)=0.434294481903251827651

const double math::log2e [static]

log2e

Returns:
returns log2(e)=1.44269504088896340736)

const double math::pi [static]

constant PI

Returns:
returns 3.14159265358979323846


Contents
SourceForge.net Logo