separate numerical operations into int and float folders, changing names of exposed functions from stdlib

This commit is contained in:
2021-12-18 20:20:30 +11:00
committed by aaron-jack-manning
parent 0956d7cc02
commit 99d1f15c9d
11 changed files with 48 additions and 16 deletions

8
lib/int.ml Normal file
View File

@@ -0,0 +1,8 @@
open FromStdlib
let ( + ) a b = stdlib_plus_int a b
let ( - ) a b = stdlib_minus_int a b
let ( * ) a b = stdlib_multiply_int a b
let ( / ) a b = stdlib_divide_int a b
let ( mod ) a b = stdlib_mod_int a b