GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 29-Sep-2005, 17:29
Bruno Couto Bruno Couto is offline
New Member
 
Join Date: Sep 2005
Posts: 6
Bruno Couto is on a distinguished road
Exclamation

Large numbers...


Hi all,

Is there a way to increase the range of "long double" numbers in C? Or, have you ever seen any implementation of a variable type larger tha "long double"? I'm trying to work with HUGE numbers, greater than 1.18e+4932, that apperas to be the largest number that my "long double" can hold...

Thank you!!

Bruno
  #2  
Old 29-Sep-2005, 19:01
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 4,703
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Large numbers...


Quote:
Originally Posted by Bruno Couto
Is there a way to increase the range of "long double" numbers in C?

For numbers with greater precision than the built-ins, you might want to check out the GNU MP library. Here's the home page: The GNU MP Bignum Library

Regards,

Dave
  #3  
Old 30-Sep-2005, 07:23
Bruno Couto Bruno Couto is offline
New Member
 
Join Date: Sep 2005
Posts: 6
Bruno Couto is on a distinguished road
Thumbs up

Re: Large numbers...


Thank you!! That's exactly what I was looking for!!!


Bruno
 
 

Recent GIDBlogToyota - 2008 September Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Binary number systems: BCD, twos complement, ones complement, etc. machinated Miscellaneous Programming Forum 6 08-Feb-2006 10:51
Odd and even numbers amazingme001 C++ Forum 9 26-Jul-2005 00:02
sorting numbers through array zidanefreak01 C++ Forum 3 26-Jun-2005 02:41
Linear Search eccoflame C Programming Language 3 19-Apr-2005 08:36
[CONTEST?]Data Structure Test dsmith C Programming Language 2 06-Jun-2004 15:13

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 22:48.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.