Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Ack-by: Zimmi48 Reviewed-by: erikmd Reviewed-by: silene
- Loading branch information
Showing
4 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- **Fixed:** | ||
Fix the specification of :n:`PrimFloat.leb` which made | ||
:n:`(x <= y)%float` true for any non NaN :n:`x` and :n:`y`. | ||
(`#12484 <https://github.com/coq/coq/pull/12484>`_, | ||
fixes `#12483 <https://github.com/coq/coq/issues/12483>`_, | ||
by Pierre Roux). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Require Import Floats. | ||
|
||
Goal False. | ||
Proof. | ||
cut (false = true). | ||
{ intro H; discriminate H. } | ||
change false with (1 <= 0)%float. | ||
rewrite leb_spec. | ||
Fail reflexivity. | ||
Abort. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters