From: Pierre Vittet <piervit@pvittet.com>
To: caml-list@inria.fr
Subject: [Caml-list] float on 32 bits?
Date: Thu, 01 Dec 2011 17:45:52 +0100 [thread overview]
Message-ID: <4ED7AF40.2050101@pvittet.com> (raw)
Hello!
I am using ocaml to analyse java bytecode
(http://javalib.gforge.inria.fr/). The fact is that java has a float
type which is coded on 32 bits and a double type which is coded on 64
bits. I need to make corresponding types but ocaml only has a float
coded on 64 bits (IEE 754 norm, which java respect too), so I don"t know
how to get the float 32 bits.
Is there some Float32 module? I cannot just place my float 32 into a
float 64 because I need to get same behaviour on basic operations.
Thanks!
Pierre Vittet
next reply other threads:[~2011-12-01 16:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-01 16:45 Pierre Vittet [this message]
2011-12-01 17:57 ` Niki Yoshiuchi
2011-12-02 1:46 ` Jon Harrop
2011-12-02 14:07 ` Pierre Vittet
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=4ED7AF40.2050101@pvittet.com \
--to=piervit@pvittet.com \
--cc=caml-list@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