author | haftmann |
Mon, 03 Sep 2007 08:07:39 +0200 | |
changeset 24522 | ec3e5c1a0479 |
parent 24521 | 9565ac68c3cd |
child 24523 | cd723b2209ea |
src/Tools/rat.ML | file | annotate | diff | comparison | revisions |
--- a/src/Tools/rat.ML Mon Sep 03 08:01:35 2007 +0200 +++ b/src/Tools/rat.ML Mon Sep 03 08:07:39 2007 +0200 @@ -95,7 +95,7 @@ fun inv (Rat (p, q)) = case Integer.sign p of LESS => Rat (Integer.neg q, Integer.neg p) - | EQAUL => raise DIVZERO + | EQUAL => raise DIVZERO | GREATER => Rat (q, p); fun rounddown (Rat (p, q)) = Rat (Integer.div p q, 1);