Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/compiler/MiscUtil/bignums/bigint.sig
ViewVC logotype

Annotation of /sml/trunk/src/compiler/MiscUtil/bignums/bigint.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 418 - (view) (download) (as text)
Original Path: sml/branches/SMLNJ/src/compiler/MiscUtil/bignums/bigint.sig

1 : monnier 245 (* Copyright 1989 by AT&T Bell Laboratories *)
2 :     signature BIGINT =
3 :     sig type bigint (* non-negative *)
4 :     val bigint : int -> bigint
5 :     val getbit : bigint * int -> bool (* get the i'th bit; low-order
6 :     bit is numbered 0 *)
7 :     val size : bigint -> int (* size 0 = 0; size i = 1+floor(log2(i)) *)
8 :     val + : bigint * bigint -> bigint
9 :     val * : bigint * bigint -> bigint
10 :     val >> : bigint * int -> bigint (* shift right *)
11 :     end
12 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0