caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: 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 15:53:17 +0000	[thread overview]
Message-ID: <42594BED.8070301@yahoo.fr> (raw)
In-Reply-To: <425927FE.606@exomi.com>

Ville-Pertti Keinonen a écrit :
> 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.
> 

The programs who works with floats in 32 bits shall also work with
floats in 64 bits without one bit from the mantissa, no?

So, what are we waiting for unbox the floats?
Historical reason(C code wrote that use the box representation of the
floats) ?


Kévin.


  reply	other threads:[~2005-04-10 13:43 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
2005-04-10 15:53           ` sejourne_kevin [this message]
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=42594BED.8070301@yahoo.fr \
    --to=sejourne_kevin@yahoo.fr \
    --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;
as well as URLs for NNTP newsgroup(s).