From b3fe9193edaf01b32b8dbc009991c99f1700a890 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Thu, 4 Apr 2024 02:46:21 +0200 Subject: Moved defines --- FICS/ratings.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'FICS') diff --git a/FICS/ratings.c b/FICS/ratings.c index ddc369d..f1e6030 100644 --- a/FICS/ratings.c +++ b/FICS/ratings.c @@ -36,6 +36,14 @@ #include "ratings.h" #include "utils.h" +// Constants for Glicko system +#define Gd 3.25 +#define Gr0 1720 +#define Gs0 350 +#define Gq 0.00575646273249 +#define Gp 0.000010072398601964 +// End of Glicko system variables + PUBLIC double Ratings_B_Average; PUBLIC double Ratings_B_StdDev; @@ -476,14 +484,6 @@ Round(double x) return (x < 0 ? (int)(x - 0.5) : (int)(x + 0.5)); } -// Constants for Glicko system -#define Gd 3.25 -#define Gr0 1720 -#define Gs0 350 -#define Gq 0.00575646273249 -#define Gp 0.000010072398601964 -// End of Glicko system variables - PRIVATE double Gf(double ss) { -- cgit v1.2.3