aboutsummaryrefslogtreecommitdiff
path: root/kernel/byterun
diff options
context:
space:
mode:
authorGuillaume Bertholon2018-08-03 17:38:48 +0200
committerPierre Roux2019-11-01 10:20:27 +0100
commitdda50a88aab0fa0cfb74c8973b5a4353fe5c8447 (patch)
treead80b6386f39dda5666308658ef7d9fa79c4cd20 /kernel/byterun
parent55d32c9f3a91058f69f34c17c17701d0dc81874d (diff)
Put axioms on ldshiftexp and frshiftexp
Axioms on ldexp and frexp are replaced by proofs inside FloatLemmas. The shift value has been increased to 2 * emax + prec because in ldexp we want to be able to transform the smallest denormalized to the biggest float value in one call.
Diffstat (limited to 'kernel/byterun')
-rw-r--r--kernel/byterun/coq_values.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/byterun/coq_values.h b/kernel/byterun/coq_values.h
index 14f3f152bf..fa51b2d31f 100644
--- a/kernel/byterun/coq_values.h
+++ b/kernel/byterun/coq_values.h
@@ -45,6 +45,6 @@
#define coq_tag_Some 1
#define coq_None Val_int(0)
-#define FLOAT_EXP_SHIFT (1022 + 52)
+#define FLOAT_EXP_SHIFT (2101) /* 2*emax + prec */
#endif /* _COQ_VALUES_ */