0

Can anybody please help me find code for 128bit arithmetic(division,mul,sub,add) in C. I am using ANSI C compiler.

2
Contributors
1
Reply
2
Views
13 Years
Discussion Span
Last Post by Stack Overflow
0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.