[MLton-devel] cvs commit: Int64
Stephen Weeks
sweeks@users.sourceforge.net
Sat, 06 Sep 2003 11:41:27 -0700
sweeks 03/09/06 11:41:27
Modified: basis-library/libs/basis-2002/top-level overloads.sml
doc/user-guide basis.tex
doc changelog
Log:
Adding the overloads for Int64 and noting the existence of Int64 in
the user guide and changelog.
Revision Changes Path
1.6 +103 -104 mlton/basis-library/libs/basis-2002/top-level/overloads.sml
Index: overloads.sml
===================================================================
RCS file: /cvsroot/mlton/mlton/basis-library/libs/basis-2002/top-level/overloads.sml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- overloads.sml 5 Sep 2003 23:01:02 -0000 1.5
+++ overloads.sml 6 Sep 2003 18:41:26 -0000 1.6
@@ -7,106 +7,105 @@
*)
(*
- * int = {Int.int, Int8.int, Int16.int, Int32.int, Int64.int,
- IntInf.int, LargeInt.int, FixedInt.int, Position.int}
- * word = {Word.word, Word8.word, Word16.word, Word32.word,
- LargeWord.word, SysWord.word}
- * real = {Real.real, Real32.real, Real.64.real,
- LargeReal.real}
- * text = {String.string, Char.char}
- * wordint = word union int
- * realint = real union int
- * num = word union int union real
- * numtext = num union text
-
-num ===
-_overload f : ?
-as Int.f
-and Int8.f
-and Int16.f
-and Int32.f
-(* and Int64.f *)
-and IntInf.f
-and LargeInt.f
-and FixedInt.f
-and Position.f
-and Word.f
-and Word8.f
-and Word16.f
-and Word32.f
-and LargeWord.f
-and SysWord.f
-and Real.f
-and Real32.f
-and Real64.f
-and LargeReal.f
-
-wordint ===
-_overload f : ?
-as Int.f
-and Int8.f
-and Int16.f
-and Int32.f
-(* and Int64.f *)
-and IntInf.f
-and LargeInt.f
-and FixedInt.f
-and Position.f
-and Word.f
-and Word8.f
-and Word16.f
-and Word32.f
-and LargeWord.f
-and SysWord.f
-
-realint ===
-_overload f : ?
-as Int.f
-and Int8.f
-and Int16.f
-and Int32.f
-(* and Int64.f *)
-and IntInf.f
-and LargeInt.f
-and FixedInt.f
-and Position.f
-and Real.f
-and Real32.f
-and Real64.f
-and LargeReal.f
-
-numtext ===
-_overload f : ?
-as Int.f
-and Int8.f
-and Int16.f
-and Int32.f
-(* and Int64.f *)
-and IntInf.f
-and LargeInt.f
-and FixedInt.f
-and Position.f
-and Word.f
-and Word8.f
-and Word16.f
-and Word32.f
-and LargeWord.f
-and SysWord.f
-and Real.f
-and Real32.f
-and Real64.f
-and LargeReal.f
-and String.f
-and Char.f
-
-*)
+ * * int = {Int.int, Int8.int, Int16.int, Int32.int, Int64.int,
+ * IntInf.int, LargeInt.int, FixedInt.int, Position.int}
+ * * word = {Word.word, Word8.word, Word16.word, Word32.word,
+ * LargeWord.word, SysWord.word}
+ * * real = {Real.real, Real32.real, Real.64.real,
+ * LargeReal.real}
+ * * text = {String.string, Char.char}
+ * * wordint = word union int
+ * * realint = real union int
+ * * num = word union int union real
+ * * numtext = num union text
+ *
+ * num ===
+ * _overload f : ?
+ * as Int.f
+ * and Int8.f
+ * and Int16.f
+ * and Int32.f
+ * and Int64.f
+ * and IntInf.f
+ * and LargeInt.f
+ * and FixedInt.f
+ * and Position.f
+ * and Word.f
+ * and Word8.f
+ * and Word16.f
+ * and Word32.f
+ * and LargeWord.f
+ * and SysWord.f
+ * and Real.f
+ * and Real32.f
+ * and Real64.f
+ * and LargeReal.f
+ *
+ * wordint ===
+ * _overload f : ?
+ * as Int.f
+ * and Int8.f
+ * and Int16.f
+ * and Int32.f
+ * and Int64.f
+ * and IntInf.f
+ * and LargeInt.f
+ * and FixedInt.f
+ * and Position.f
+ * and Word.f
+ * and Word8.f
+ * and Word16.f
+ * and Word32.f
+ * and LargeWord.f
+ * and SysWord.f
+ *
+ * realint ===
+ * _overload f : ?
+ * as Int.f
+ * and Int8.f
+ * and Int16.f
+ * and Int32.f
+ * and Int64.f
+ * and IntInf.f
+ * and LargeInt.f
+ * and FixedInt.f
+ * and Position.f
+ * and Real.f
+ * and Real32.f
+ * and Real64.f
+ * and LargeReal.f
+ *
+ * numtext ===
+ * _overload f : ?
+ * as Int.f
+ * and Int8.f
+ * and Int16.f
+ * and Int32.f
+ * and Int64.f
+ * and IntInf.f
+ * and LargeInt.f
+ * and FixedInt.f
+ * and Position.f
+ * and Word.f
+ * and Word8.f
+ * and Word16.f
+ * and Word32.f
+ * and LargeWord.f
+ * and SysWord.f
+ * and Real.f
+ * and Real32.f
+ * and Real64.f
+ * and LargeReal.f
+ * and String.f
+ * and Char.f
+ *)
_overload ~ : ('a -> 'a) (* num -> num *)
as Int.~
and Int8.~
and Int16.~
and Int32.~
-(* and Int64.~ *)
+and Int64.~
and IntInf.~
and LargeInt.~
and FixedInt.~
@@ -127,7 +126,7 @@
and Int8.+
and Int16.+
and Int32.+
-(* and Int64.+ *)
+and Int64.+
and IntInf.+
and LargeInt.+
and FixedInt.+
@@ -148,7 +147,7 @@
and Int8.-
and Int16.-
and Int32.-
-(* and Int64.- *)
+and Int64.-
and IntInf.-
and LargeInt.-
and FixedInt.-
@@ -169,7 +168,7 @@
and Int8.*
and Int16.*
and Int32.*
-(* and Int64.* *)
+and Int64.*
and IntInf.*
and LargeInt.*
and FixedInt.*
@@ -205,7 +204,7 @@
and Int8.div
and Int16.div
and Int32.div
-(* and Int64.div *)
+and Int64.div
and IntInf.div
and LargeInt.div
and FixedInt.div
@@ -222,7 +221,7 @@
and Int8.mod
and Int16.mod
and Int32.mod
-(* and Int64.mod *)
+and Int64.mod
and IntInf.mod
and LargeInt.mod
and FixedInt.mod
@@ -239,7 +238,7 @@
and Int8.abs
and Int16.abs
and Int32.abs
-(* and Int64.abs *)
+and Int64.abs
and IntInf.abs
and LargeInt.abs
and FixedInt.abs
@@ -254,7 +253,7 @@
and Int8.<
and Int16.<
and Int32.<
-(* and Int64.< *)
+and Int64.<
and IntInf.<
and LargeInt.<
and FixedInt.<
@@ -277,7 +276,7 @@
and Int8.<=
and Int16.<=
and Int32.<=
-(* and Int64.<= *)
+and Int64.<=
and IntInf.<=
and LargeInt.<=
and FixedInt.<=
@@ -300,7 +299,7 @@
and Int8.>
and Int16.>
and Int32.>
-(* and Int64.> *)
+and Int64.>
and IntInf.>
and LargeInt.>
and FixedInt.>
@@ -323,7 +322,7 @@
and Int8.>=
and Int16.>=
and Int32.>=
-(* and Int64.>= *)
+and Int64.>=
and IntInf.>=
and LargeInt.>=
and FixedInt.>=
1.27 +6 -6 mlton/doc/user-guide/basis.tex
Index: basis.tex
===================================================================
RCS file: /cvsroot/mlton/mlton/doc/user-guide/basis.tex,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- basis.tex 3 Sep 2003 22:35:37 -0000 1.26
+++ basis.tex 6 Sep 2003 18:41:26 -0000 1.27
@@ -225,12 +225,12 @@
\fullmodule{Int32ArraySlice}{MONO\_ARRAY\_SLICE}
\fullmodule{Int32Vector}{MONO\_VECTOR}
\fullmodule{Int32VectorSlice}{MONO\_VECTOR\_SLICE}
-%\fullmodule{Int64}{INTEGER}
-%\fullmodule{Int64Array}{MONO\_ARRAY}
-%\fullmodule{Int64Array2}{MONO\_ARRAY2}
-%\fullmodule{Int64ArraySlice}{MONO\_ARRAY\_SLICE}
-%\fullmodule{Int64Vector}{MONO\_VECTOR}
-%\fullmodule{Int64VectorSlice}{MONO\_VECTOR\_SLICE}
+\fullmodule{Int64}{INTEGER}
+\fullmodule{Int64Array}{MONO\_ARRAY}
+\fullmodule{Int64Array2}{MONO\_ARRAY2}
+\fullmodule{Int64ArraySlice}{MONO\_ARRAY\_SLICE}
+\fullmodule{Int64Vector}{MONO\_VECTOR}
+\fullmodule{Int64VectorSlice}{MONO\_VECTOR\_SLICE}
\fullmodule{IntInf}{INT\_INF}
\fullmodule{LargeInt}{INTEGER}
\fullmodule{LargeReal}{REAL}
1.69 +3 -0 mlton/doc/changelog
Index: changelog
===================================================================
RCS file: /cvsroot/mlton/mlton/doc/changelog,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- changelog 5 Sep 2003 18:48:39 -0000 1.68
+++ changelog 6 Sep 2003 18:41:27 -0000 1.69
@@ -1,5 +1,8 @@
Here are the changes since version 20030716.
+* 2003-09-06
+ - Int64 is completely there.
+
* 2003-09-05
- Fixed bug in Real.toDecimal, which return class NORMAL for
subnormals.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel