[GB.GSL]
* NEW: Added Class Constance. git-svn-id: svn://localhost/gambas/trunk@4461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
155824bde3
commit
84587a6328
1 changed files with 16 additions and 16 deletions
|
@ -374,23 +374,23 @@ GB_DESC CGslDesc[] =
|
|||
// Class Constants
|
||||
// Appears that GSL Macros cannot be used in GB_CONSTANT
|
||||
// So we must define them here ourselves.
|
||||
//GB_CONSTANT("M_E", "f", "2.7182818284590"), /* e 4523536028747135 */
|
||||
//GB_CONSTANT("M_LOGE", "f", "1.44269504088896340735992468100"), /* LOG_E */
|
||||
//GB_CONSTANT("M_LOG10E", "f", "0.43429448190325182765112891892"), /* log_10 (e) */
|
||||
//GB_CONSTANT("M_SQRT2", "f", "1.41421356237309504880168872421"), /* sqrt(2) */
|
||||
//GB_CONSTANT("M_SQRT1_2", "f", "0.70710678118654752440084436210"), /* sqrt(1/2) */
|
||||
//GB_CONSTANT("M_SQRT3", "f", "1.73205080756887729352744634151"), /* sqrt(3) */
|
||||
GB_CONSTANT("M_E", "f", "2.71828182845904523536028747135"), /* e */
|
||||
GB_CONSTANT("M_LOGE", "f", "1.44269504088896340735992468100"), /* LOG_E */
|
||||
GB_CONSTANT("M_LOG10E", "f", "0.43429448190325182765112891892"), /* log_10 (e) */
|
||||
GB_CONSTANT("M_SQRT2", "f", "1.41421356237309504880168872421"), /* sqrt(2) */
|
||||
GB_CONSTANT("M_SQRT1_2", "f", "0.70710678118654752440084436210"), /* sqrt(1/2) */
|
||||
GB_CONSTANT("M_SQRT3", "f", "1.73205080756887729352744634151"), /* sqrt(3) */
|
||||
GB_CONSTANT("M_PI", "f", "3.14159265358979323846264338328"), /* pi */
|
||||
//GB_CONSTANT("M_PI_2", "f", "1.57079632679489661923132169164"), /* pi/2 */
|
||||
//GB_CONSTANT("M_PI_4", "f", "0.78539816339744830961566084582"), /* pi/4 */
|
||||
//GB_CONSTANT("M_SQRTPI", "f", "1.77245385090551602729816748334"), /* sqrt(pi) */
|
||||
//GB_CONSTANT("M_2_SQRTPI", "f", "1.12837916709551257389615890312"), /* 2/sqrt(pi) */
|
||||
//GB_CONSTANT("M_1_PI", "f", "0.31830988618379067153776752675"), /* 1/pi */
|
||||
//GB_CONSTANT("M_2_PI", "f", "0.63661977236758134307553505349"), /* 2/pi */
|
||||
//GB_CONSTANT("M_LN10", "f", "2.30258509299404568401799145468"), /* ln(10) */
|
||||
//GB_CONSTANT("M_LN2", "f", "0.69314718055994530941723212146"), /* ln(2) */
|
||||
//GB_CONSTANT("M_LNPI", "f", "1.14472988584940017414342735135"), /* ln(pi) */
|
||||
//GB_CONSTANT("M_EULER", "f", "0.57721566490153286060651209008"), /* Euler constant */
|
||||
GB_CONSTANT("M_PI_2", "f", "1.57079632679489661923132169164"), /* pi/2 */
|
||||
GB_CONSTANT("M_PI_4", "f", "0.78539816339744830961566084582"), /* pi/4 */
|
||||
GB_CONSTANT("M_SQRTPI", "f", "1.77245385090551602729816748334"), /* sqrt(pi) */
|
||||
GB_CONSTANT("M_2_SQRTPI", "f", "1.12837916709551257389615890312"), /* 2/sqrt(pi) */
|
||||
GB_CONSTANT("M_1_PI", "f", "0.31830988618379067153776752675"), /* 1/pi */
|
||||
GB_CONSTANT("M_2_PI", "f", "0.63661977236758134307553505349"), /* 2/pi */
|
||||
GB_CONSTANT("M_LN10", "f", "2.30258509299404568401799145468"), /* ln(10) */
|
||||
GB_CONSTANT("M_LN2", "f", "0.69314718055994530941723212146"), /* ln(2) */
|
||||
GB_CONSTANT("M_LNPI", "f", "1.14472988584940017414342735135"), /* ln(pi) */
|
||||
GB_CONSTANT("M_EULER", "f", "0.57721566490153286060651209008"), /* Euler constant */
|
||||
|
||||
GB_END_DECLARE
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue