From 11652d4f34456f1c46a2e7f9c455648da5f0d0c9 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Sun, 23 Jul 2017 13:01:44 +0200 Subject: [PATCH] Add missing CTFloat::hash function to ctfloat.h --- src/ddmd/root/ctfloat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ddmd/root/ctfloat.h b/src/ddmd/root/ctfloat.h index c3597427924e..d3a33c657086 100644 --- a/src/ddmd/root/ctfloat.h +++ b/src/ddmd/root/ctfloat.h @@ -38,6 +38,8 @@ struct CTFloat static real_t parse(const char *literal, bool *isOutOfRange = NULL); static int sprint(char *str, char fmt, real_t x); + static size_t hash(real_t a); + // Constant real values 0, 1, -1 and 0.5. static real_t zero; static real_t one;