Re: Trouble with integer floating point conversion
- From: jacob navia <jacob@xxxxxxxxxx>
- Date: Thu, 13 Dec 2007 16:17:23 +0100
rembremading wrote:
Yes, your assembler code works fine, although I don't understand what it
does :-)
For my purposes, however, it will be better to choose the constants such
that they are exactly representable, as outlined below.
Every additional function call, at this place in the code, is unwanted.
(although an inlined version of this function would be quite fast, I guess)
I would not want to activate the 64 bit computations for the entire program.
Actually for the most part of it calculation with higher precision are very
wellcome, as long as it does not affect the speed)
Nevertheless it is an interesting piece of code, which might be usefull in
the future.
You need it call it ONCE when your program STARTS.
Then, all calculations are done in 64 bits only
and not in 80.
That code sets the precision flag of the floating point unit
to 64 bits, i.e. double precision.
--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32
.
- Follow-Ups:
- Re: Trouble with integer floating point conversion
- From: rembremading
- Re: Trouble with integer floating point conversion
- References:
- Trouble with integer floating point conversion
- From: rembremading
- Re: Trouble with integer floating point conversion
- From: rembremading
- Re: Trouble with integer floating point conversion
- From: jacob navia
- Re: Trouble with integer floating point conversion
- From: rembremading
- Re: Trouble with integer floating point conversion
- From: jacob navia
- Re: Trouble with integer floating point conversion
- From: rembremading
- Trouble with integer floating point conversion
- Prev by Date: Re: #pragma once in ISO standard yet?
- Next by Date: Re: typedef function with void parameters
- Previous by thread: Re: Trouble with integer floating point conversion
- Next by thread: Re: Trouble with integer floating point conversion
- Index(es):
Relevant Pages
|