128bit arithmetic

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2004
Posts: 1
Reputation: srividyad is an unknown quantity at this point 
Solved Threads: 0
srividyad srividyad is offline Offline
Newbie Poster

128bit arithmetic

 
0
  #1
Sep 17th, 2004
Can anybody please help me find code for 128bit arithmetic(division,mul,sub,add) in C. I am using ANSI C compiler.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 185
Reputation: Stack Overflow is an unknown quantity at this point 
Solved Threads: 4
Stack Overflow's Avatar
Stack Overflow Stack Overflow is offline Offline
C Programmer

Re: 128bit arithmetic

 
0
  #2
Sep 17th, 2004
Greetings,

I did find this one open source library called Cephes.

Cephes
Cephes Mathematical Library
ยป It includes these sections-- double: all functions in 64-bit double precision; single: all available functions in 32-bit single precision; long double: all available functions in 80-bit extended precision; 128bit: all available functions in 128-bit long double precision; qlib: all functions in q-type extended (44 to 106 decimal) precision, includes a C++ class for the binary floating point arithmetic and a q-type calculator program; c9x-complex: new C language standard C9X data type for complex variables, header complex.h for GNU C and functions in float complex, double complex, and long double complex precisions.

Additional links:
http://www.codepedia.com/zone3/cat414/22201.htm


Notes
Cephes seems like the most reliable 128-bit library. If you have further questions, please feel free to ask. I hope this information has been useful.


- Stack Overflow
Following the rules will ensure you get a prompt answer to your question. If posting code, please include BB [code][/code] tags. Your question may have been asked before, try the search facility.

IRC
Channel: irc.daniweb.com
Room: #c, #shell
Reply With Quote Quick reply to this message  
Reply

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


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC