Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to https://github.com/coq/coq/pull/19801 #799

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions compcert/lib/IEEE754_extra.v
Original file line number Diff line number Diff line change
@@ -431,7 +431,7 @@
apply integer_representable_2p. auto.
apply (Zpower_gt_0 radix2).
lia.
- assert (IZR x <> 0%R) by (apply (IZR_neq _ _ n)).

Check warning on line 434 in compcert/lib/IEEE754_extra.v

GitHub Actions / build (8.18, 64, vst)

Notation IZR_neq is deprecated since 8.19.

Check warning on line 434 in compcert/lib/IEEE754_extra.v

GitHub Actions / build (8.18, 64, vst)

Notation IZR_neq is deprecated since 8.19.

Check warning on line 434 in compcert/lib/IEEE754_extra.v

GitHub Actions / build (8.19, 64, vst)

Notation IZR_neq is deprecated since 8.19.

Check warning on line 434 in compcert/lib/IEEE754_extra.v

GitHub Actions / build (8.19, 64, vst)

Notation IZR_neq is deprecated since 8.19.

Check warning on line 434 in compcert/lib/IEEE754_extra.v

GitHub Actions / build (8.19, 32, vst)

Notation IZR_neq is deprecated since 8.19.

Check warning on line 434 in compcert/lib/IEEE754_extra.v

GitHub Actions / build (8.19, 32, vst)

Notation IZR_neq is deprecated since 8.19.
destruct (BofZ_finite x H) as (A & B & C).
destruct (BofZ_representable (2^p)) as (D & E & F).
apply integer_representable_2p. auto.
@@ -992,8 +992,6 @@
emin <= e <= emax - prec <-> bounded prec emax Bexact_inverse_mantissa e = true.
Proof.
intros. unfold bounded, canonical_mantissa. rewrite andb_true_iff.
rewrite ?Z.eqb_compare.
fold (Zeq_bool (fexp (Z.pos (digits2_pos Bexact_inverse_mantissa) + e)) e).
rewrite <- Zeq_is_eq_bool. rewrite <- Zle_is_le_bool.
rewrite Bexact_inverse_mantissa_digits2_pos.
unfold fexp, FLT_exp, emin. lia.
2 changes: 0 additions & 2 deletions progs/verif_union.v
Original file line number Diff line number Diff line change
@@ -145,7 +145,6 @@ rewrite andb_true_iff in H.
destruct H as [H H0].
apply Z.leb_le in H0.
unfold SpecFloat.canonical_mantissa in H.
rewrite ?Z.eqb_compare in H.
apply Zeq_bool_eq in H.
unfold FLT.FLT_exp in H.
rewrite Digits.Zpos_digits2_pos in H.
@@ -220,7 +219,6 @@ destruct e0 as [H' ?H].
assert (-149 <= e). {
clear - H'.
unfold SpecFloat.canonical_mantissa in H'.
rewrite ?Z.eqb_compare in H'.
apply Zeq_bool_eq in H'.
unfold FLT.FLT_exp in H'.
rewrite Digits.Zpos_digits2_pos in H'.
2 changes: 0 additions & 2 deletions progs64/verif_union.v
Original file line number Diff line number Diff line change
@@ -146,7 +146,6 @@ rewrite andb_true_iff in H.
destruct H as [H H0].
apply Z.leb_le in H0.
unfold SpecFloat.canonical_mantissa in H.
rewrite ?Z.eqb_compare in H.
apply Zeq_bool_eq in H.
unfold FLT.FLT_exp in H.
rewrite Digits.Zpos_digits2_pos in H.
@@ -221,7 +220,6 @@ destruct e0 as [H' ?H].
assert (-149 <= e). {
clear - H'.
unfold SpecFloat.canonical_mantissa in H'.
rewrite ?Z.eqb_compare in H'.
apply Zeq_bool_eq in H'.
unfold FLT.FLT_exp in H'.
rewrite Digits.Zpos_digits2_pos in H'.
Loading