mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 20:25:12 +01:00
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)
This commit is contained in:
parent
dfce076fe4
commit
c9d97c2e2a
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user