aboutsummaryrefslogtreecommitdiff
path: root/theories/QArith
diff options
context:
space:
mode:
authorPierre Roux2020-09-12 09:10:26 +0200
committerPierre Roux2020-10-30 14:11:19 +0100
commit2d44c8246eccba7c1c452cbfbc6751cd222d0a6a (patch)
tree93683ff83a5d70c8aeca9161381aa4d0640dd949 /theories/QArith
parent473160ebe4a835dde50d6c209ab17c7e1b84979c (diff)
Renaming Numeral.v into Number.v
Diffstat (limited to 'theories/QArith')
-rw-r--r--theories/QArith/QArith_base.v10
1 files changed, 5 insertions, 5 deletions
diff --git a/theories/QArith/QArith_base.v b/theories/QArith/QArith_base.v
index 192dcd885b..151355519e 100644
--- a/theories/QArith/QArith_base.v
+++ b/theories/QArith/QArith_base.v
@@ -117,16 +117,16 @@ Definition to_hexadecimal (q:Q) : option Hexadecimal.hexadecimal :=
| _ => None
end.
-Definition of_numeral (d:Numeral.numeral) : option Q :=
+Definition of_numeral (d:Number.number) : option Q :=
match d with
- | Numeral.Dec d => Some (of_decimal d)
- | Numeral.Hex d => Some (of_hexadecimal d)
+ | Number.Dec d => Some (of_decimal d)
+ | Number.Hex d => Some (of_hexadecimal d)
end.
-Definition to_numeral (q:Q) : option Numeral.numeral :=
+Definition to_numeral (q:Q) : option Number.number :=
match to_decimal q with
| None => None
- | Some q => Some (Numeral.Dec q)
+ | Some q => Some (Number.Dec q)
end.
Number Notation Q of_numeral to_numeral : Q_scope.