Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
fbfc9d6d
Commit
fbfc9d6d
authored
Aug 22, 2019
by
Sylvain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
why3execute: renaming
parent
bce5bafe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/mlw/pinterp.ml
src/mlw/pinterp.ml
+4
-4
No files found.
src/mlw/pinterp.ml
View file @
fbfc9d6d
...
...
@@ -221,17 +221,17 @@ type 'a float_arity =
|
Mode_rel
:
(
big_float
->
big_float
->
bool
)
float_arity
(* binary predicates *)
|
Mode_rel1
:
(
big_float
->
bool
)
float_arity
(* Unary predicate *)
let
use_f
mode
(
fmode
:
int
)
=
match
f
mode
with
let
use_f
loat_format
(
float_format
:
int
)
=
match
f
loat_format
with
|
32
->
initialize_float32
()
|
64
->
initialize_float64
()
|
_
->
raise
CannotCompute
let
eval_float
:
type
a
.
int
->
a
float_arity
->
a
->
Expr
.
rsymbol
->
value
list
->
value
=
(
fun
f
mode
ty
op
ls
l
->
(
fun
f
loat_format
ty
op
ls
l
->
(* Set the exponent depending on Float type that are used: 32 or 64 *)
use_f
mode
fmode
;
use_f
loat_format
float_format
;
try
begin
match
ty
,
l
with
|
Mode1
,
[
Vfloat_mode
mode
;
Vfloat
f
]
->
...
...
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