Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
d7544dee
Commit
d7544dee
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2003-11-29 11:28:24 by szach] added to_string
Original author: szach Date: 2003-11-29 11:28:24+00:00
parent
0c8e4642
Changes
2
Hide whitespace changes
Inline
Side-by-side
types/intervals.ml
View file @
d7544dee
...
...
@@ -21,6 +21,7 @@ let serialize t i = Serialize.Put.string t (string_of_big_int i)
let
deserialize
t
=
big_int_of_string
(
Serialize
.
Get
.
string
t
)
let
mk
=
big_int_of_string
let
to_string
=
string_of_big_int
let
get_int
=
int_of_big_int
let
is_int
=
is_int_big_int
let
add
=
add_big_int
...
...
types/intervals.mli
View file @
d7544dee
...
...
@@ -2,6 +2,7 @@ module V : sig
include
Custom
.
T
val
print
:
Format
.
formatter
->
t
->
unit
val
mk
:
string
->
t
val
to_string
:
t
->
string
val
is_int
:
t
->
bool
val
get_int
:
t
->
int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment