Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lustrec - public version
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LustreC
Lustrec - public version
Commits
59fc6b1c
Commit
59fc6b1c
authored
7 years ago
by
Pierre Loic Garoche
Browse files
Options
Downloads
Patches
Plain Diff
Default precision for real values printing
parent
9a7268ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/options.ml
+3
-0
3 additions, 0 deletions
src/options.ml
with
3 additions
and
0 deletions
src/options.ml
+
3
−
0
View file @
59fc6b1c
...
...
@@ -53,6 +53,8 @@ let horn_query = ref true
let
cpp
=
ref
false
let
int_type
=
ref
"int"
let
real_type
=
ref
"double"
let
print_prec_double
=
ref
15
let
print_prec_float
=
ref
10
let
sfunction
=
ref
""
...
...
@@ -157,6 +159,7 @@ let lustrec_options =
"-c++"
,
Arg
.
Set
cpp
,
"c++ backend"
;
"-int"
,
Arg
.
Set_string
int_type
,
"specifies the integer type (default=
\"
int
\"
)"
;
"-real"
,
Arg
.
Set_string
real_type
,
"specifies the real type (default=
\"
double
\"
without mpfr option)"
;
"-real-print-prec"
,
Arg
.
Set_int
print_prec_double
,
"specifies the number of digits to be printed for real values (default=15)"
;
"-mauve"
,
Arg
.
String
(
fun
node
->
mauve
:=
node
;
cpp
:=
true
;
static_mem
:=
false
)
,
"generates the mauve code"
;
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment