Commit c9d97c2e authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Use higher precision for the mathematical constants. (#141941, Morten

Wed Jun  2 00:57:16 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gtypes.h: Use higher precision for the mathematical
	constants.  (#141941, Morten Welinder)
parent dfce076f
Wed Jun 2 00:57:16 2004 Matthias Clasen <maclas@gmx.de>
* glib/gtypes.h: Use higher precision for the mathematical
constants. (#141941, Morten Welinder)
Tue Jun 1 22:01:40 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (advance_char): Fix an off-by-one error
......
Wed Jun 2 00:57:16 2004 Matthias Clasen <maclas@gmx.de>
* glib/gtypes.h: Use higher precision for the mathematical
constants. (#141941, Morten Welinder)
Tue Jun 1 22:01:40 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (advance_char): Fix an off-by-one error
......
Wed Jun 2 00:57:16 2004 Matthias Clasen <maclas@gmx.de>
* glib/gtypes.h: Use higher precision for the mathematical
constants. (#141941, Morten Welinder)
Tue Jun 1 22:01:40 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (advance_char): Fix an off-by-one error
......
Wed Jun 2 00:57:16 2004 Matthias Clasen <maclas@gmx.de>
* glib/gtypes.h: Use higher precision for the mathematical
constants. (#141941, Morten Welinder)
Tue Jun 1 22:01:40 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (advance_char): Fix an off-by-one error
......
Wed Jun 2 00:57:16 2004 Matthias Clasen <maclas@gmx.de>
* glib/gtypes.h: Use higher precision for the mathematical
constants. (#141941, Morten Welinder)
Tue Jun 1 22:01:40 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (advance_char): Fix an off-by-one error
......
......@@ -91,13 +91,13 @@ typedef void (*GFreeFunc) (gpointer data);
/* Define some mathematical constants that aren't available
* symbolically in some strict ISO C implementations.
*/
#define G_E 2.7182818284590452354E0
#define G_LN2 6.9314718055994530942E-1
#define G_LN10 2.3025850929940456840E0
#define G_PI 3.14159265358979323846E0
#define G_PI_2 1.57079632679489661923E0
#define G_PI_4 0.78539816339744830962E0
#define G_SQRT2 1.4142135623730950488E0
#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
/* Portable endian checks and conversions
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment