caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* convertion between OCaml Big_int and C
@ 2010-10-13 14:26 Jianzhou Zhao
  2010-10-13 14:48 ` [Caml-list] " Olivier Schwander
  0 siblings, 1 reply; 4+ messages in thread
From: Jianzhou Zhao @ 2010-10-13 14:26 UTC (permalink / raw)
  To: caml-list

Hi All,

I am not sure if this is a reasonable question. Does OCaml already
have functions that do convertion between arbitrary-precision integers
big_int in OCaml and any representation of large intergers in C? The
implementation of big_int (otherlibs/num/big_int.*) uses nat
(otherlibs/num/nat.*). Nat is a customized allocation (in C) as a list
of native integers to represent arbitrary-precision. So converting
big_int into C seems possible to me.

Thanks.
-- 
Jianzhou


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-13 17:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 14:26 convertion between OCaml Big_int and C Jianzhou Zhao
2010-10-13 14:48 ` [Caml-list] " Olivier Schwander
2010-10-13 16:01   ` Jianzhou Zhao
2010-10-13 16:11     ` Olivier Schwander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).