From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] big_int -> int64
Date: Fri, 24 Aug 2007 19:53:03 +0100 [thread overview]
Message-ID: <200708241953.03342.jon@ffconsultancy.com> (raw)
In-Reply-To: <6806cf750708240727l7ad05991td11ad9c4719f977f@mail.gmail.com>
On Friday 24 August 2007 15:27:14 Jeff Meister wrote:
> I guess you do Int64.of_string (Big_int.string_of_big_int i). Clunky,
> but should work.
You could go via Num and pattern match for Int to catch the most common case
of small 31- or 63-bit ints.
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists/?e
prev parent reply other threads:[~2007-08-24 19:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-24 13:52 Christoph Bauer
2007-08-24 14:27 ` [Caml-list] " Jeff Meister
2007-08-24 18:53 ` Jon Harrop [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200708241953.03342.jon@ffconsultancy.com \
--to=jon@ffconsultancy.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox