aboutsummaryrefslogtreecommitdiff
path: root/theories/Numbers/Natural/Abstract
diff options
context:
space:
mode:
authorletouzey2010-11-18 14:40:08 +0000
committerletouzey2010-11-18 14:40:08 +0000
commit503d92f75b520e88864649306f5a70058ff73990 (patch)
tree8cf391e333965511a76fbf3fb123d165ae38fab1 /theories/Numbers/Natural/Abstract
parent8d3a8edab6377823e620f7a22ccfcdcd869bb5a7 (diff)
NZLog: we define log2_up, a base-2 logarithm that rounds up instead of down as log2
Some more results about log2. Similar results for log2_up. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13648 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Numbers/Natural/Abstract')
-rw-r--r--theories/Numbers/Natural/Abstract/NLog.v1
1 files changed, 1 insertions, 0 deletions
diff --git a/theories/Numbers/Natural/Abstract/NLog.v b/theories/Numbers/Natural/Abstract/NLog.v
index 7fbf4280a3..0accf38b09 100644
--- a/theories/Numbers/Natural/Abstract/NLog.v
+++ b/theories/Numbers/Natural/Abstract/NLog.v
@@ -19,4 +19,5 @@ Module Type NLog2Prop
(** For the moment we simply reuse NZ properties *)
Include NZLog2Prop A A A B D.NZPowP.
+ Include NZLog2UpProp A A A B D.NZPowP.
End NLog2Prop.