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
F
flocq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Flocq
flocq
Commits
712c4c25
Commit
712c4c25
authored
May 17, 2010
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed useless notations and hypotheses.
parent
827cade0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
src/Calc/Fcalc_digits.v
src/Calc/Fcalc_digits.v
+0
-4
src/Calc/Fcalc_div.v
src/Calc/Fcalc_div.v
+1
-5
No files found.
src/Calc/Fcalc_digits.v
View file @
712c4c25
...
...
@@ -5,10 +5,6 @@ Section Fcalc_digits.
Variable
beta
:
radix
.
Notation
bpow
e
:=
(
bpow
beta
e
).
Variable
fexp
:
Z
->
Z
.
Hypothesis
prop_exp
:
valid_exp
fexp
.
Notation
format
:=
(
generic_format
beta
fexp
).
Fixpoint
digits2_Pnat
(
n
:
positive
)
:
nat
:=
match
n
with
|
xH
=>
O
...
...
src/Calc/Fcalc_div.v
View file @
712c4c25
...
...
@@ -7,18 +7,14 @@ Section Fcalc_div.
Variable
beta
:
radix
.
Notation
bpow
e
:=
(
bpow
beta
e
).
Variable
fexp
:
Z
->
Z
.
Hypothesis
prop_exp
:
valid_exp
fexp
.
Notation
format
:=
(
generic_format
beta
fexp
).
(
*
*
1.
Shift
dividend
mantissa
so
that
it
has
at
least
p2
+
p
digits
.
*
2.
Perform
the
euclidean
division
.
*
3.
Compute
position
with
remainder
.
*
4.
Round
to
p
digits
.
*
*
Complexity
is
fine
as
long
as
p1
<=
2
p
and
p2
<=
p
.
*
)
Definition
Fdiv_aux
prec
m1
e1
m2
e2
:=
let
d1
:=
digits
beta
m1
in
let
d2
:=
digits
beta
m2
in
...
...
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