Stałe matematyczne
[Podstawowa matematyka]

Variables

const float common::E = 2.71828182845904523536f
 e
const float common::LOG2E = 1.44269504088896340736f
 log2(e)
const float common::LOG10E = 0.434294481903251827651f
 log10(e)
const float common::LN2 = 0.693147180559945309417f
 ln(2)
const float common::LN10 = 2.30258509299404568402f
 ln(10)
const float common::PI = 3.14159265358979323846264338327950288419716939937510582f
 pi
const float common::PI_2 = 1.57079632679489661923f
 pi/2
const float common::PI_4 = 0.785398163397448309616f
 pi/4
const float common::PI_X_2 = 6.28318530717958647692f
 2*pi
const float common::_1_PI = 0.318309886183790671538f
 1/pi
const float common::_2_PI = 0.636619772367581343076f
 2/pi
const float common::_2_SQRTPI = 1.12837916709551257390f
 2/sqrt(pi)
const float common::SQRT2 = 1.41421356237309504880f
 sqrt(2)
const float common::SQRT3 = 1.7320508075688772935274463415059f
 sqrt(3)
const float common::SQRT1_2 = 0.707106781186547524401f
 1/sqrt(2)

Detailed Description

Bo stałe z cmath/math.h nie chcą działać mimo zdefiniowania wcześniej USE_MATH_CONSTANTS :P


Variable Documentation

const float common::_1_PI = 0.318309886183790671538f

1/pi

const float common::_2_PI = 0.636619772367581343076f

2/pi

const float common::_2_SQRTPI = 1.12837916709551257390f

2/sqrt(pi)

const float common::E = 2.71828182845904523536f

e

const float common::LN10 = 2.30258509299404568402f

ln(10)

const float common::LN2 = 0.693147180559945309417f

ln(2)

const float common::LOG10E = 0.434294481903251827651f

log10(e)

const float common::LOG2E = 1.44269504088896340736f

log2(e)

const float common::PI = 3.14159265358979323846264338327950288419716939937510582f

pi

const float common::PI_2 = 1.57079632679489661923f

pi/2

const float common::PI_4 = 0.785398163397448309616f

pi/4

const float common::PI_X_2 = 6.28318530717958647692f

2*pi

const float common::SQRT1_2 = 0.707106781186547524401f

1/sqrt(2)

const float common::SQRT2 = 1.41421356237309504880f

sqrt(2)

const float common::SQRT3 = 1.7320508075688772935274463415059f

sqrt(3)


Generated on Wed Dec 16 20:44:52 2009 for CommonLib by  doxygen 1.6.1