|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
How can one make "double" two times longer (more accurate) in C++ in fast way?
|
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
do you mean quad. precision?
|
|
|
||
|
|
|
#3 |
|
Guest
Posts: n/a
|
Yes. I mean quad. precision.
|
|
|
||
|
|
|
#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 |
|
|
||
|
|
|
#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++.
|
|
|
||
|
|
|
#6 |
|
Guest
Posts: n/a
|
Many thanks.
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New densitybased solver AeroFoam | giulio_romanelli | OpenFOAM Running, Solving & CFD | 38 | December 5, 2011 11:20 |
| Continuing User Defined Real Gas Model issues | aeroman | FLUENT | 2 | October 22, 2010 15:28 |
| Parallel User Defined Real Gas Model | aeroman | FLUENT | 3 | October 21, 2010 15:04 |
| Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 11:48 |
| REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 08:23 |