diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-04-04 02:46:21 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-04-04 02:46:21 +0200 |
commit | b3fe9193edaf01b32b8dbc009991c99f1700a890 (patch) | |
tree | 77d606db03c6c57c4ad00adc27e4272b8c8379d3 /FICS/ratings.c | |
parent | d12e0c913847aa531d0c54c72d42fcec138da8b2 (diff) |
Moved defines
Diffstat (limited to 'FICS/ratings.c')
-rw-r--r-- | FICS/ratings.c | 16 |
1 files changed, 8 insertions, 8 deletions
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) { |