|
[Sponsors] |
October 1, 2001, 15:50 |
double double
|
#1 |
Guest
Posts: n/a
|
How can one make "double" two times longer (more accurate) in C++ in fast way?
|
|
October 1, 2001, 15:57 |
Re: double trouble
|
#2 |
Guest
Posts: n/a
|
do you mean quad. precision?
|
|
October 1, 2001, 16:39 |
Re: double trouble
|
#3 |
Guest
Posts: n/a
|
Yes. I mean quad. precision.
|
|
October 1, 2001, 19:14 |
Re: double trouble
|
#4 |
Guest
Posts: n/a
|
Sorry, I try and stay away from quad precision :P I heard mathmatica can do quad precision fairly easily.
Anyway, I did a web search and get tons of references to c++ "precision" libraries. Here's a link to one which looks good to me http://www.nersc.gov/~dhbailey/mpdist/mpdist.html Cheers |
|
October 1, 2001, 19:40 |
Re: double double
|
#5 |
Guest
Posts: n/a
|
I don't know about C++, but 'double precision' in modern programming languages (e.g. Visual Basic) implies 64-bit, which is known in assembly as a 'quad word' (4*16-bit). The older Fortran codes, such as Plot3D, only use 32-bit precision ('double word') for floating point numbers. So 'double double precision' in Fortran may be equivalent to 'double precision' in C++.
|
|
October 1, 2001, 22:47 |
Re: double trouble
|
#6 |
Guest
Posts: n/a
|
Many thanks.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Continuing User Defined Real Gas Model issues | aeroman | FLUENT | 6 | April 8, 2016 03:34 |
New densitybased solver AeroFoam | giulio_romanelli | OpenFOAM Running, Solving & CFD | 48 | January 15, 2016 08:20 |
Parallel User Defined Real Gas Model | aeroman | FLUENT | 4 | July 1, 2015 06:09 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 11:48 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 08:23 |