80-bit long doubles

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Mar 2007
Posts: 50
Reputation: guy40az is an unknown quantity at this point 
Solved Threads: 2
guy40az guy40az is offline Offline
Junior Poster in Training

80-bit long doubles

 
0
  #1
Mar 31st, 2007
Does any one know of a complier that supports the 80 bit long double?? Or do you have any idea how to get one on VC++ 6.0
Thanks
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: 80-bit long doubles

 
0
  #2
Mar 31st, 2007
I don't know, but I'd definitely suggest trashing that old crap and getting a new compiler such as Visual Studio 2005 Express, or Dev-C++.

And if you need to hold huge numbers I'd suggest looking into a math library.
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,580
Reputation: Infarction has a spectacular aura about Infarction has a spectacular aura about Infarction has a spectacular aura about 
Solved Threads: 52
Infarction's Avatar
Infarction Infarction is offline Offline
Battle Programmer

Re: 80-bit long doubles

 
0
  #3
Mar 31st, 2007
If long double doesn't do it, I'm not sure. If you desperately need the precision, you could also use a 3rd party high (or arbitrary) precision library.

Oh, and unless you absolutely need VC6.0, I'd recommend you upgrade to something from this millenium. There is a free version of VC available from Microsoft even

[edit:] quite the race going on here :p
Last edited by Infarction; Mar 31st, 2007 at 9:17 pm.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 50
Reputation: guy40az is an unknown quantity at this point 
Solved Threads: 2
guy40az guy40az is offline Offline
Junior Poster in Training

Re: 80-bit long doubles

 
0
  #4
Mar 31st, 2007
Well I am using VC 6.0 because it was given to me to learn c++, but according to
according to Microsoft they quit supporting the 80 bit long double when they started making 32 bit compilers, so getting a newer one from Microsoft will not do me any good.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,131
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 283
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

Re: 80-bit long doubles

 
0
  #5
Mar 31st, 2007
Originally Posted by guy40az View Post
Well I am using VC 6.0 because it was given to me to learn c++.
And it's fine for learning C++. It follows enough of the standard that you won't have to worry about it. Compilers aren't like stereo systems where you have to have the latest and greatest every year. VC6 is still in extensive use.

It still bugs me when people keep suggesting someone upgrade just because a new version comes out. That's not always recommended. For example, have you guys upgraded to Vista? XP is so old...
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 53
Reputation: FoX_ is an unknown quantity at this point 
Solved Threads: 7
FoX_'s Avatar
FoX_ FoX_ is offline Offline
Junior Poster in Training

Re: 80-bit long doubles

 
0
  #6
Mar 31st, 2007
On my system Dev-C++ IDE supports the long double data type and shows it 12 byte(96 bit) with sizeof();

For more information you can look at here:
http://en.wikipedia.org/wiki/Long_double
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 50
Reputation: guy40az is an unknown quantity at this point 
Solved Threads: 2
guy40az guy40az is offline Offline
Junior Poster in Training

Re: 80-bit long doubles

 
0
  #7
Apr 1st, 2007
Are you using Dev-C++ ver 4. and should i be able to run both vc6 and Dev C++ 4 on the same computer and same hard drive partition.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,580
Reputation: Infarction has a spectacular aura about Infarction has a spectacular aura about Infarction has a spectacular aura about 
Solved Threads: 52
Infarction's Avatar
Infarction Infarction is offline Offline
Battle Programmer

Re: 80-bit long doubles

 
0
  #8
Apr 1st, 2007
Originally Posted by guy40az View Post
and should i be able to run both vc6 and Dev C++ 4 on the same computer and same hard drive partition.
Yes, they are just two different applications that do the same thing.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 53
Reputation: FoX_ is an unknown quantity at this point 
Solved Threads: 7
FoX_'s Avatar
FoX_ FoX_ is offline Offline
Junior Poster in Training

Re: 80-bit long doubles

 
0
  #9
Apr 1st, 2007
Originally Posted by guy40az View Post
Are you using Dev-C++ ver 4. and should i be able to run both vc6 and Dev C++ 4 on the same computer and same hard drive partition.
Yes to all...
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,653
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 474
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: 80-bit long doubles

 
0
  #10
Apr 3rd, 2007
Originally Posted by WaltP View Post
For example, have you guys upgraded to Vista? XP is so old...
Sorry couldn't resist this... Is Vista free ? I guess no. Good compilers are not hard to get by, so the only reason for not upgrading would be laziness or some genuine project constraint....
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum


Views: 2379 | Replies: 12
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC