gmp
GMP IMPORT/EXPORT
I have a problem with import/export GMP function. I try to convert a negative and positive Big Integer but when i work with negative number[详细]
2023-03-11 22:17 分类:问答How to extract base 10 mantissa and exponent using gpmlib in C++
I need to extract significand and exponent of a double in C++ using gpmlib. Ex: double a =1.234; I would like to extract 1234 as significand and 3 as exponent so that a = 1234e-3. I heard that gpmlib[详细]
2023-03-11 18:22 分类:问答Large integer radix/base conversion from 10^x to 2^x
Preface I\'m learning about computer math by writing and refining my own BigInt library. So far my first incarnation stores every digit of a base 10 number in successive elements of a vector. It can m[详细]
2023-03-11 08:04 分类:问答Compile older version of gcc
I am trying to compile gcc version gcc4.3.2 usinggcc version 4.1开发者_Go百科.2 20080704 (Red Hat 4.1.2-50) on a CentOS 5.5 os. Initially the compiler complained about needing gmp and mpfr libraries w[详细]
2023-03-10 23:40 分类:问答mpz_t to unsigned long long conversion (gmp lib)
Is there a way to convert a mpz_t variable to unsigned long long in C?How about the other way around,from ull to mpz_t?The gmp library doesn\'t support this as ull are part of C99.[详细]
2023-03-10 21:20 分类:问答GMP limitation big integer
i have a problem with GMP library for big integer. I set the big integer using the function mpz_t num; mpz_init(num);[详细]
2023-03-10 10:38 分类:问答Error during the executing a file with GMP library
I have installed gmp library many times and run several programs. Every time I run my first program after \'successful\' compilation, i hit the following error.[详细]
2023-03-09 05:12 分类:问答Installing GMP math library
How do I use GMP in Codeblocks in Windows? I have looked al开发者_如何学Gol over the internet and have found no instructions on how to do so.[详细]
2023-03-08 02:54 分类:问答Converting Base64 to GMP integer
I have a scenario where the I get a Base64 (64 bit encoded) string. My requirement is to convert this string to gmp integer (mpz_t).[详细]
2023-03-06 23:11 分类:问答How to enable php-gmp on Mac OS X 10.6.6? (no macports)
I want to enable my php-gmp and I don\'t want to use macports because I use homebrew. First I brew install gmp[详细]
2023-02-22 10:56 分类:问答