# Thread: Arbitrary-precision arithmetic

1. ## Arbitrary-precision arithmetic

Hello there!

There any ready-made realization of arbitrary-precision arithmetic of floating point numbers?

2. ## Re: Arbitrary-precision arithmetic

Hi!

Unfortunately there isn't any built in libraries to deal with big numbers.

I made a program which works with 1024 bit unsigned integer numbers to calculate factorial up to 150, you can find it here:
http://grid.kfki.hu/afs/szaqaei/web/szi ... factorial/

And you can find an OpenCL program which uses 128 bit floating point numbers to deal with Mandelbroth sets:
http://www.bealto.com/mp-mandelbrot_fp128-opencl.html

3. ## Re: Arbitrary-precision arithmetic

Originally Posted by SAdam
Hi!

Unfortunately there isn't any built in libraries to deal with big numbers.

I made a program which works with 1024 bit unsigned integer numbers to calculate factorial up to 150, you can find it here:
http://grid.kfki.hu/afs/szaqaei/web/szi ... factorial/

And you can find an OpenCL program which uses 128 bit floating point numbers to deal with Mandelbroth sets:
http://www.bealto.com/mp-mandelbrot_fp128-opencl.html

Second link interesting, but not usefull. But i find that document:
http://meseec.ce.rit.edu/eecc250-winter ... 7-2000.pdf

And now I'm working to create a double and float128. If I succeed, will upload here source code.

4. ## Re: Arbitrary-precision arithmetic

Originally Posted by BratSinot
And now I'm working to create a double and float128. If I succeed, will upload here source code.
I'm stupid. I did not immediately find the source from the second link.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•