From: Ville-Pertti Keinonen <will@exomi.com>
To: sejourne_kevin <sejourne_kevin@yahoo.fr>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] float precision on AMD64
Date: Sun, 10 Apr 2005 16:19:58 +0300 [thread overview]
Message-ID: <425927FE.606@exomi.com> (raw)
In-Reply-To: <42593B4D.2040601@yahoo.fr>
sejourne_kevin wrote:
> Do you want to say that one small logical operation (' and ' or '
> shift') after the evaluation of an expression ' float ' will be slower
> than the management of it box?
Shifting floats wouldn't make much sense, but you could just clear/set
the tag bit (it would be the least significant bit of the mantissa).
However, this would be insufficient if you wanted control over rounding
(you could only have round-toward-zero).
Of course someone content with losing a bit of precision from the
mantissa probably wouldn't care too much about rounding.
next prev parent reply other threads:[~2005-04-10 13:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-10 1:14 Mike Lin
2005-04-10 1:41 ` [Caml-list] " Robert Roessler
2005-04-10 11:57 ` sejourne_kevin
2005-04-10 12:01 ` Ville-Pertti Keinonen
2005-04-10 14:42 ` sejourne_kevin
2005-04-10 13:19 ` Ville-Pertti Keinonen [this message]
2005-04-10 15:53 ` sejourne_kevin
2005-04-10 14:12 ` Ville-Pertti Keinonen
2005-04-11 13:24 ` Alan Falloon
2005-04-11 13:43 ` Ville-Pertti Keinonen
2005-04-11 14:25 ` Alan Falloon
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=425927FE.606@exomi.com \
--to=will@exomi.com \
--cc=caml-list@yquem.inria.fr \
--cc=sejourne_kevin@yahoo.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;
as well as URLs for NNTP newsgroup(s).