Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
97d4fb49
Commit
97d4fb49
authored
5 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[doc] typos
parent
49c521b2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/kernel_services/ast_queries/logic_utils.mli
+5
-5
5 additions, 5 deletions
src/kernel_services/ast_queries/logic_utils.mli
src/libraries/utils/floating_point.mli
+1
-1
1 addition, 1 deletion
src/libraries/utils/floating_point.mli
with
6 additions
and
6 deletions
src/kernel_services/ast_queries/logic_utils.mli
+
5
−
5
View file @
97d4fb49
...
...
@@ -187,7 +187,7 @@ val expr_to_predicate: exp -> predicate
of the original C-expression.
This is different from [expr_to_term e |> scalar_term_to_predicate]
since
it directly translate C-relations
into logic ones.
since
C-relations are translated
into logic ones.
@raise Fatal error if the expression is not a comparison and cannot be
compared to zero.
...
...
@@ -212,7 +212,7 @@ val expr_to_boolean: exp -> term
of the original C-expression.
This is different from [expr_to_term e |> scalar_term_to_predicate]
since
it directly translate C-relations
into logic ones.
since
C-relations are translated
into logic ones.
@raise Fatal error if the expression is not a comparison and cannot be
compared to zero.
...
...
@@ -256,9 +256,9 @@ val lconstant_to_constant: logic_constant-> constant
The returned term is either a real constant or
real constant casted into a C-float type.
Unsuffi
s
ed
constant
s are considered as real numbers.
Literals suffixed by [
'f'
] or [
'd'] are
considered
as float constants. *)
Unsuffi
x
ed
literal
s are considered as real numbers.
Literals suffixed by [
f|d|l
] or [
F|D|L] are considered
as float constants
of the associated kind
. *)
val
parse_float
:
?
loc
:
location
->
string
->
term
(** {2 Various Utilities} *)
...
...
This diff is collapsed.
Click to expand it.
src/libraries/utils/floating_point.mli
+
1
−
1
View file @
97d4fb49
...
...
@@ -69,7 +69,7 @@ type parsed_float = {
with no suffix are parsed as double. *)
val
parse
:
string
->
Cil_types
.
fkind
*
parsed_float
(** Checks if the (uppercased) string ends with an explicit
`
F|D|L
`
(** Checks if the (uppercased) string ends with an explicit
[
F|D|L
]
suffix for the given float kind. *)
val
has_suffix
:
Cil_types
.
fkind
->
string
->
bool
...
...
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