CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

double double

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2001, 15:50
Default double double
  #1
Damir
Guest
 
Posts: n/a
How can one make "double" two times longer (more accurate) in C++ in fast way?
  Reply With Quote

Old   October 1, 2001, 15:57
Default Re: double trouble
  #2
johnny
Guest
 
Posts: n/a
do you mean quad. precision?
  Reply With Quote

Old   October 1, 2001, 16:39
Default Re: double trouble
  #3
Damir
Guest
 
Posts: n/a
Yes. I mean quad. precision.
  Reply With Quote

Old   October 1, 2001, 19:14
Default Re: double trouble
  #4
johnny
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
  Reply With Quote

Old   October 1, 2001, 19:40
Default Re: double double
  #5
Axel Rohde
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++.
  Reply With Quote

Old   October 1, 2001, 22:47
Default Re: double trouble
  #6
Damir
Guest
 
Posts: n/a
Many thanks.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 02:12.