aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--theories/Reals/Rfunctions.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/theories/Reals/Rfunctions.v b/theories/Reals/Rfunctions.v
index 188699e6d1..4fcde3833f 100644
--- a/theories/Reals/Rfunctions.v
+++ b/theories/Reals/Rfunctions.v
@@ -659,6 +659,14 @@ intros n1 H'; rewrite Rinv_mult_distr; try rewrite Rinv_1; try rewrite H';
Qed.
(*******************************)
+(* For easy interface *)
+(*******************************)
+(* decimal_exp r z is defined as r 10^z *)
+
+Definition decimal_exp (r:R) (z:Z) : R := (r * 10 ^Z z).
+
+
+(*******************************)
(** Sum of n first naturals *)
(*******************************)
(*********)