arbitrary-precision Questions

5

Solved

Since there are two ways of implementing an AP fractional number, one is to emulate the storage and behavior of the double data type, only with more bytes, and the other is to use an existing integ...
Schwejda asked 3/8, 2012 at 15:23

1

When multiplying very large numbers, you use FFT based multiplication (see Schönhage–Strassen algorithm). For performance reason I'm caching the twiddle factors. The problem is for huge numbers (Gi...
Backbone asked 1/3, 2015 at 21:14

3

Solved

This question is asking for programming languages which accept numeric constants for assignment to arbitrary precision variables or for use in arbitrary precision expressions without performing con...

3

Solved

Can someone tell me of a good C++ library for handling (doing operations etc...) with arbitrarily large numbers (it can be a library that handles arbitrary precision floats too, but handling ...
Bigeye asked 16/11, 2011 at 4:56

3

Solved

Can I work with large numbers (more than 10^400) with built-in method in Delphi?
Seftton asked 28/8, 2010 at 9:11

0

How can I do arbitrary precision arithmetic in Fortran? I need two things. I want to work with really big integer and real numbers, and to work with arbitrary precise real numbers.
Moorish asked 15/2, 2014 at 1:5

1

Solved

Python is supposed to have "arbitrary precision integers," according to the answer in Python integer ranges. But this result is plainly not arbitrary precision: $ python -c 'print("%d" % (99999999...
Ventriloquist asked 9/1, 2014 at 21:4

2

Solved

How do hig-performance native big-integer libraries on x86-64 represent a big integer in memory? (or does it vary? Is there a most common way?) Naively I was thinking about storing them as 0-termi...
Flessel asked 18/7, 2012 at 18:34

6

Solved

What class should I use for representation of money to avoid most rounding errors? Should I use Decimal, or a simple built-in number? Is there any existing Money class with support for currency c...
Sixtyfour asked 10/9, 2009 at 17:52

2

Solved

I'm working on some tool that gets to compute numbers that can get close to 1e-25 in the worst cases, and compare them together, in Java. I'm obviously using double precision. I have read in anoth...
Explanatory asked 15/6, 2013 at 6:20

1

When working with arbitrary precision arithmetic (e.g. 512-bit integers), is there any way to get GCC to use ADC and similar instructions without using inline assembly? A first glance at GMP's sou...
Decahedron asked 29/3, 2013 at 2:41

2

Solved

I'm working on a project ( in Scala ), where I have a need to manipulate some very large numbers; far too big to be represented by the integral types. Java provides the BigInteger and BigDecimal cl...
Yeoman asked 26/4, 2012 at 3:3

1

Solved

While I was working on my fast ADD loop (Speed up x64 assembler ADD loop), I was testing memory access with SSE and AVX instructions. To add I have to read two inputs and produce one output. So I w...
Zondra asked 20/12, 2012 at 15:37

3

I'm working on arithmetic for multiplication of very long integers (some 100,000 decimal digits). As part of my library I to add two long numbers. Profiling shows that my code runs up to 25% of i...
Guinness asked 20/12, 2012 at 11:22

2

Solved

I want to calculate e to 2 trillion (2,000,000,000,000) digits. This is about 1,8 TiB of pure e. I just implemented a taylor series expansion algorithm using GMP (code can be found here). Unfortua...
Popsicle asked 9/11, 2012 at 18:34

3

I'm looking for an arbitrary precision floating point library for C/C++ (plain C is preferred). I need arbitrary precision exponents. GMP and MPFR use fixed size exponents, so they are ineligible (...
Pizza asked 13/10, 2012 at 18:49

2

Solved

I'm currently trying to figure out how to work with arbitrary-precision numbers in PHP. So I guess my first question would be what exactly is arbitrary-precision math. I tried Googling for a good d...
Etsukoetta asked 5/8, 2011 at 19:35

2

Solved

This might be a very simple question for some but I would like to know the meaning of arbitrary precision which appears in the first line in JavaDoc of BigInteger : Immutable arbitrary-precision...
Gynaecocracy asked 23/8, 2012 at 9:41

8

Solved

Has arbitrary-precision arithmetic affected numerical analysis software? I feel that most numerical analysis software keeps on using the same floats and doubles. If I'm right, I'd love to know th...
Renounce asked 30/7, 2009 at 21:42

2

Solved

What is a scalable algorithm to print an N-binary-digit integer manually whose value does not fit in long long. I know printf and friends, along with <iostream> (which most likely piggy-backs...
Quits asked 14/6, 2012 at 15:16

4

Solved

In assembly languages, there is usually an instruction that adds two operands and a carry. If you want to implement big integer additions, you simply add the lowest integers without a carry and the...
Babb asked 9/6, 2012 at 9:6

7

I'm trying to solve a programming contest's preliminary problems and for 2 of the problems I have to calculate and print some very big integers(like 100!, 2^100). I also need a fast way to calcula...

1

Following papers and source code for double-double arithmetic for some time, I still can't find out how exactly a dd_real ( defined as struct dd_real { double x[2];...}) number is split into two do...

3

Solved

Does C# support arbitrary precision arithmetic (I think this is also called bignums)? If it doesn't, which libraries do support it?
Gullet asked 15/3, 2012 at 21:14

1

Solved

I'm still working on routines for arbitrary long integers in C++. So far, I have implemented addition/subtraction and multiplication for 64-bit Intel CPUs. Everything works fine, but I wondered if...
Tirpitz asked 15/1, 2012 at 1:54

© 2022 - 2024 — McMap. All rights reserved.