Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / mlton / basic / int-inf.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9signature INT_INF =
10 sig
11 include INTEGER
12
13 val andb: t * t -> t
14 val hash: t -> word
15 val log2: t -> Int.t
16 val maxPow2ThatDivides: t -> word
17 val notb: t -> t
18 val orb: t * t -> t
19 val xorb: t * t -> t
20 val << : t * Pervasive.Word.word -> t
21 val ~>> : t * Pervasive.Word.word -> t
22 end