Import Upstream version 20180207
[hcoop/debian/mlton.git] / basis-library / top-level / arithmetic.sml
1 (* Copyright (C) 1999-2005, 2008 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 * Copyright (C) 1997-2000 NEC Research Institute.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9 val ~ = Int.~
10 val ( op + ) = Int.+
11 val ( op - ) = Int.-
12 val ( op * ) = Int.*
13 val ( op div ) = Int.div
14 val ( op mod ) = Int.mod
15 val ( op < ) = Int.<
16 val ( op <= ) = Int.<=
17 val ( op > ) = Int.>
18 val ( op >= ) = Int.>=