Numerical Definitions
mathematical constants, and floating point decomposition.
GLib offers mathematical constants such as #G_PI for the value of pi;
many platforms have these in the C library, but some don't, the GLib
versions always exist.
The #GFloatIEEE754 and #GDoubleIEEE754 unions are used to access the
sign, mantissa and exponent of IEEE floats and doubles. These
unions are defined as appropriate for a given platform.
IEEE floats and doubles are supported (used for
storage) by at least Intel, PPC and Sparc, for reference: http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html
http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html
See http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html
See http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html
The #GFloatIEEE754 and #GDoubleIEEE754 unions are used to access the
sign, mantissa and exponent of IEEE floats and doubles. These
unions are defined as appropriate for a given platform.
IEEE floats and doubles are supported (used for
storage) by at least Intel, PPC and Sparc, for reference:
http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html
The #GFloatIEEE754 and #GDoubleIEEE754 unions are used to access the
sign, mantissa and exponent of IEEE floats and doubles. These
unions are defined as appropriate for a given platform.
IEEE floats and doubles are supported (used for
storage) by at least Intel, PPC and Sparc, for reference:
http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html
The base of natural logarithms.
The natural logarithm of 2.
The natural logarithm of 10.
The value of pi (ratio of circle's circumference to its diameter).
Pi divided by 2.
Pi divided by 4.
The square root of two.
Used for fooling around with float formats, see
http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html