added Executable_Real
authorhaftmann
Sat, 19 May 2007 11:33:20 +0200
changeset 23016 fd7cd1edc18d
parent 23015 e67f05cc0ac5
child 23017 00c0e4c42396
added Executable_Real
doc-src/IsarAdvanced/Codegen/Thy/Codegen.thy
doc-src/IsarAdvanced/Codegen/Thy/document/Codegen.tex
src/HOL/ex/ExecutableContent.thy
--- a/doc-src/IsarAdvanced/Codegen/Thy/Codegen.thy	Sat May 19 11:33:19 2007 +0200
+++ b/doc-src/IsarAdvanced/Codegen/Thy/Codegen.thy	Sat May 19 11:33:20 2007 +0200
@@ -471,6 +471,8 @@
        for finite sets using lists.
     \item[@{text "ExecutableRat"}] \label{exec_rat} implements rational
        numbers as triples @{text "(sign, enumerator, denominator)"}.
+    \item[@{text "Executable_Real"}] implements a subset of real numbers,
+       namly those representable by rational numbers.
     \item[@{text "EfficientNat"}] \label{eff_nat} implements natural numbers by integers,
        which in general will result in higher efficency; pattern
        matching with @{const "0\<Colon>nat"} / @{const "Suc"}
--- a/doc-src/IsarAdvanced/Codegen/Thy/document/Codegen.tex	Sat May 19 11:33:19 2007 +0200
+++ b/doc-src/IsarAdvanced/Codegen/Thy/document/Codegen.tex	Sat May 19 11:33:20 2007 +0200
@@ -592,6 +592,8 @@
        for finite sets using lists.
     \item[\isa{ExecutableRat}] \label{exec_rat} implements rational
        numbers as triples \isa{{\isacharparenleft}sign{\isacharcomma}\ enumerator{\isacharcomma}\ denominator{\isacharparenright}}.
+    \item[\isa{Executable{\isacharunderscore}Real}] implements a subset of real numbers,
+       namly those representable by rational numbers.
     \item[\isa{EfficientNat}] \label{eff_nat} implements natural numbers by integers,
        which in general will result in higher efficency; pattern
        matching with \isa{{\isadigit{0}}} / \isa{Suc}
--- a/src/HOL/ex/ExecutableContent.thy	Sat May 19 11:33:19 2007 +0200
+++ b/src/HOL/ex/ExecutableContent.thy	Sat May 19 11:33:20 2007 +0200
@@ -14,7 +14,7 @@
   Binomial
   Commutative_Ring
   "~~/src/HOL/ex/Commutative_Ring_Complete"
-(*  Executable_Real *)
+  Executable_Real
   GCD
   List_Prefix
   Nat_Infinity