数值定义
时间:2010-10-28 来源:tdh2002
#include <glib.h>
#define G_IEEE754_FLOAT_BIAS
#define G_IEEE754_DOUBLE_BIAS
union GFloatIEEE754;
union GDoubleIEEE754;
#define G_E
#define G_LN2
#define G_LN10
#define G_PI
#define G_PI_2
#define G_PI_4
#define G_SQRT2
#define G_LOG_2_BASE_10
#define G_IEEE754_FLOAT_BIAS (127)
#define G_IEEE754_DOUBLE_BIAS (1023)
union GFloatIEEE754
union GDoubleIEEE754
#define G_E 2.7182818284590452353602874713526624977572470937000
#define G_LN2 0.69314718055994530941723212145817656807550013436026
#define G_LN10 2.3025850929940456840179914546843642076011014886288
#define G_PI 3.1415926535897932384626433832795028841971693993751
#define G_PI_2 1.5707963267948966192313216916397514420985846996876
#define G_PI_4 0.78539816339744830961566084581987572104929234984378
#define G_SQRT2 1.4142135623730950488016887242096980785696718753769
#define G_LOG_2_BASE_10 (0.30102999566398119521)
相关阅读 更多 +