I need to do calculations with higher precision than doubles and am using boost::multiprecision for that. This works perfectly fine when I use boost:: ...
I need to do calculations with higher precision than doubles and am using boost::multiprecision for that. This works perfectly fine when I use boost:: ...
Playing around with the boost multiprecision library. Calculating some big factorial numbers and such. Problem is the output takes too long. 100,000! ...
The code below compiles just fine on Windows using VC++: , however with GCC (for Android and iOS) there's a problem seemingly with templates. The ...
I have a Textfile containing numbers that looks as follows: Does there exist a simple way to parse it directly into an integer list? It doesn't mat ...
Question: I want to check if a boost::multiprecision::cpp_dec_float<100> value can be safely converted into a float/double or (u)int8,16,32,... ...
I have large integers that I need to convert to binary, but I keep getting this warning message: Warning messages: In h(num) : probable complete ...
How can I let the python mpmath.nstr function keep all the trailing zeros for mpmath.mpf('0')? It looks that the strip_zeros optional argument does no ...
I need to calculate dot product of two vectors: uint64_t a[N], b[N]; (N<=60) containing 64-bit unsigned integers. Precisely this loop: ans will ...
I'm trying to use the CAMPARY library (CudA Multiple Precision ARithmetic librarY). I've downloaded the code and included it in my project. Since it s ...
I want to do basic arithmetic (addition, subtraction and comparison) with 64 digit hex numbers represented as strings. for example "ffffa"+"2" == "ff ...
So I' ve decided to write my own multiprecision data type. I've written a simple function that adds large numbers stored in vector<uint_fast8_t> ...
As described in the post: Rcpp and boost: it should work but it does not I am trying to use boost in Rcpp in Windows. The (simplified) file is: I ...
In the Julia 1.0.0 REPL I get the following behavior. The first line is an example from the documentation https://docs.julialang.org/en/v1/base/math/# ...
Consider that you want to calculate the low 128-bits of the result of multiplying a 64-bit and 128-bit unsigned number, and that the largest multiplic ...
If I have the following code: And if I compile using g++ on Ubuntu, I get the following error: error: cannot convert ‘const boost::multiprecision: ...
I am trying to implement a bigInt library. I have been checking other libraries like GMP, ttmaht or libtommath but any of them fulfill the requirement ...
I am trying to use F1 scores for model selection in multiclass classification. I am calculating them class-wise and average over them: (F1(class1)+F1 ...
The quadmath library does not have much documentation online and I would like to perform two simple actions using __complex128 type. Is there a w ...
I am trying to implement multi-precision unsigned subtraction over a finite field (p=2^191-19) in C, but I cannot figure out how to deal with borrow b ...
I have a binary sequence. This sequence represents an arbitrary precision integer but as far as the computer is concerned, it's just a binary sequence ...