Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
28b7a239
Commit
28b7a239
authored
Aug 18, 2016
by
Guillaume Melquiond
Browse files
Merge branch 'bugfix/v0.87'
parents
6825c8fc
fdc992a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile.in
View file @
28b7a239
...
...
@@ -1032,7 +1032,7 @@ COQVD = $(addsuffix .vd, $(COQLIBS_FILES))
$(SHOW)
'Coqdep $<'
$(HIDE)$(COQDEP)
-R
lib/coq Why3
$<
$(TOTARGET)
all
:
$(COQVO)
drivers/coq-realizations.aux
all
:
$(COQVO)
ifneq
"$(MAKECMDGOALS:clean%=clean)" "clean"
ifneq
"$(MAKECMDGOALS:update-coq%=update-coq)" "update-coq"
...
...
@@ -1055,6 +1055,8 @@ drivers/coq-realizations.aux: Makefile
endif
all
:
drivers/coq-realizations.aux
install_no_local
::
$(INSTALL_DATA)
drivers/coq-realizations.aux
$(DATADIR)
/why3/drivers/
...
...
src/driver/call_provers.ml
View file @
28b7a239
...
...
@@ -158,7 +158,7 @@ let print_prover_status fmt = function
|
Unix
.
WEXITED
n
->
fprintf
fmt
"exited with status %d"
n
let
print_steps
fmt
s
=
if
s
>=
0
then
fprintf
fmt
", %d steps
)
"
s
if
s
>=
0
then
fprintf
fmt
", %d steps"
s
let
print_prover_result
fmt
{
pr_answer
=
ans
;
pr_status
=
status
;
pr_output
=
out
;
pr_time
=
t
;
...
...
theories/floating_point.why
View file @
28b7a239
...
...
@@ -426,15 +426,15 @@ theory GenFloatSpecFull
/\
(
is_infinite
x
/\
is_finite
y
->
is_infinite
r
/\
same_sign
r
x
)
/\
(
is_infinite
x
/\
is_infinite
y
/\
same_sign
x
y
->
is_infinite
r
/\
same_sign
r
x
)
/\
(
is_infinite
x
/\
is_infinite
y
/\
diff_sign
x
y
->
is_NaN
r
)
(
is_infinite
x
/\
is_infinite
y
->
if
same_sign
x
y
then
is_infinite
r
/\
same_sign
r
x
else
is_NaN
r
)
/\
(
is_finite
x
/\
is_finite
y
/\
no_overflow
m
(
value
x
+
value
y
)
->
is_finite
r
/\
value
r
=
round
m
(
value
x
+
value
y
)
/\
sign_zero_result
m
r
)
(
if
same_sign
x
y
then
same_sign
r
x
else
sign_zero_result
m
r
))
/\
(
is_finite
x
/\
is_finite
y
/\
not
no_overflow
m
(
value
x
+
value
y
)
->
SpecialValues
.
same_sign_real
(
sign
r
)
(
value
x
+
value
y
)
...
...
@@ -449,15 +449,15 @@ theory GenFloatSpecFull
/\
(
is_infinite
x
/\
is_finite
y
->
is_infinite
r
/\
same_sign
r
x
)
/\
(
is_infinite
x
/\
is_infinite
y
/\
same_sign
x
y
->
is_NaN
r
)
/\
(
is_infinite
x
/\
is_infinite
y
/\
diff_sign
x
y
->
is_infinite
r
/\
same_sign
r
x
)
(
is_infinite
x
/\
is_infinite
y
->
if
diff_sign
x
y
then
is_infinite
r
/\
same_sign
r
x
else
is_NaN
r
)
/\
(
is_finite
x
/\
is_finite
y
/\
no_overflow
m
(
value
x
-
value
y
)
->
is_finite
r
/\
value
r
=
round
m
(
value
x
-
value
y
)
/\
sign_zero_result
m
r
)
(
if
diff_sign
x
y
then
same_sign
r
x
else
sign_zero_result
m
r
))
/\
(
is_finite
x
/\
is_finite
y
/\
not
no_overflow
m
(
value
x
-
value
y
)
->
SpecialValues
.
same_sign_real
(
sign
r
)
(
value
x
-
value
y
)
...
...
@@ -509,8 +509,8 @@ theory GenFloatSpecFull
->
is_infinite
r
)
/\(
is_gen_zero
x
/\
is_gen_zero
y
->
is_NaN
r
)
/\
product_sign
r
x
y
/\
exact
r
=
exact
x
/
exact
y
/\
model
r
=
model
x
/
model
y
/\
exact
r
=
exact
x
/
exact
y
/\
model
r
=
model
x
/
model
y
predicate
of_real_exact_post
(
x
:
real
)
(
r
:
t
)
=
is_finite
r
/\
value
r
=
x
/\
exact
r
=
x
/\
model
r
=
x
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment