Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AVA
FloVer
Commits
4795737c
Commit
4795737c
authored
Aug 10, 2016
by
Heiko Becker
Browse files
Add real machine epsilon from daisy
parent
7316a7f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
coq/exps.v
View file @
4795737c
...
...
@@ -2,6 +2,7 @@
Formalization
of
the
base
expression
language
for
the
daisy
framework
**
)
Require
Import
Coq
.
Reals
.
Reals
.
Require
Import
Daisy
.
realConversion
.
Set
Implicit
Arguments
.
(
**
Expressions
will
use
binary
operators
.
...
...
@@ -31,7 +32,7 @@ Inductive exp (V:Type): Type :=
Define
the
machine
epsilon
for
floating
point
operations
.
FIXME:
Currently
set
to
1.0
instead
of
the
concrete
value
!
**
)
Definition
m
_eps
:
R
:=
1
.
Definition
m
achineEpsilon
:
R
:=
realFromNum
59604645
7
8
.
(
**
Define
a
perturbation
function
to
ease
writing
of
basic
definitions
**
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment