Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Does Caml have slow arithmetics ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brandon J. Van Every <vanevery@i...>
Subject: RE: [Caml-list] tail recursion and register poor Intel architecture
Florian Hars wrote:
> Brandon J. Van Every wrote:
> > Well, you could pass the first 6 integer arguments via the normal
> > registers, the first 8 floating point arguments via the x87
> > FPU, and the
> > next 8 integer or float arguments via the XMM registers.
> But this will give you different results for your
> computations, depending on
> argument ordering (if you push an argument from the last x87
> register to the first XMM register, it loses 16 bits).

You are worrying about 80-bit Intel internal precision vs. the 64-bit
IEEE storage format?  That's a little too anal for my tastes.  If you
store your results as 64-bit doubles at some point, you're going to lose
that internal precision anyways.

Brand*n Van Every               S*attle, WA

Praise Be to the caml-list Bayesian filter! It blesseth
my postings, it is evil crap!  evil crap!  evil crap!

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: