diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2018-04-25 10:43:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 10:43:45 +0200 |
commit | 4e8389034032a44cd2f03e965badec92e2aaa23e (patch) | |
tree | 3cb7923b90bbea16deef042ce670d0aa6b1b3be7 /flocq/Prop/Fprop_mult_error.v | |
parent | 1106670d8b48ec4883f66b5c43f9e8e7757006e5 (diff) | |
download | compcert-kvx-4e8389034032a44cd2f03e965badec92e2aaa23e.tar.gz compcert-kvx-4e8389034032a44cd2f03e965badec92e2aaa23e.zip |
Upgrade Flocq to version 2.6.1 from upstream (#71)
We were previously at 2.5.2. Quoting the NEWS from upstream:
Version 2.6.1:
- ensured compatibility from Coq 8.4 to 8.8
Version 2.6.0:
- ensured compatibility from Coq 8.4 to 8.7
- removed some hypotheses on some lemmas of Fcore_ulp
- added lemmas to Fprop_plus_error
- improved examples
Also: in preparation for Coq 8.8, silence warning "compatibility-notation"
when building Flocq, because this warning is on by default in 8.8,
and Flocq triggers it a lot.
Diffstat (limited to 'flocq/Prop/Fprop_mult_error.v')
-rw-r--r-- | flocq/Prop/Fprop_mult_error.v | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/flocq/Prop/Fprop_mult_error.v b/flocq/Prop/Fprop_mult_error.v index 7c71627b..44448cd6 100644 --- a/flocq/Prop/Fprop_mult_error.v +++ b/flocq/Prop/Fprop_mult_error.v @@ -158,7 +158,6 @@ Notation bpow e := (bpow beta e). Variable emin prec : Z. Context { prec_gt_0_ : Prec_gt_0 prec }. -Variable Hpemin: (emin <= prec)%Z. Notation format := (generic_format beta (FLT_exp emin prec)). Notation cexp := (canonic_exp beta (FLT_exp emin prec)). @@ -173,7 +172,6 @@ Theorem mult_error_FLT : (x*y = 0)%R \/ (bpow (emin + 2*prec - 1) <= Rabs (x * y))%R -> format (round beta (FLT_exp emin prec) rnd (x * y) - (x * y))%R. Proof with auto with typeclass_instances. -clear Hpemin. intros x y Hx Hy Hxy. set (f := (round beta (FLT_exp emin prec) rnd (x * y))). destruct (Req_dec (f - x * y) 0) as [Hr0|Hr0]. |