gmp Questions
3
$ apt-cache show libgmp10
Package: libgmp10
...
Version: 2:5.0.2+dfsg-2ubuntu2
test.cpp:
#include <gmpxx.h>
#include <iostream>
using namespace std;
int main()
{
mpz_class x = 42;...
5
As part of a long, sordid story whose end goal is simply to get GMP installed for use with code::blocks in Windows, I am trying to configure gmp. I do this with the following command:
./configur...
Afroamerican asked 6/7, 2012 at 20:7
4
Solved
I have a long integer number, but it is stored not in decimal form, but as set of remainders.
So, I have not the N number, but set of such remainders:
r_1 = N % 2147483743
r_2 = N % 2147483713
r...
Waistcoat asked 13/3, 2011 at 1:53
6
Solved
4
Solved
I am trying to install gmp on windows. I have found the mingw way of compiling from sources on windows.
But was unable to find binaries fro gmp 6.1.2 or visual studio project in order to compile f...
Badge asked 17/11, 2017 at 21:17
6
Solved
I am trying to build gdb from source, which version is 11.1.
I have configured the GMP including path, but the configure script still report an error.
configure: error: GMP is missing or unusable
...
2
I'm trying to use find_package to include libraries in CMake.
This question talks about how to tell CMake to link to the GMP library (external). I am trying to follow the steps of the answer there ...
1
Solved
I am unable to figure this out. I am trying to build the Microchip XC32 PIC32 microcontroller GCC cross-compiler.
To try it yourself (this is how I got to my error I'm stuck on):
On Windows 10 or ...
7
Solved
How do I install GCC (the GNU Compiler Collection) piece by piece, using the current version,
using the correct versions of dependencies, not using a package manager (like yum, rpm, apt, dpkg), and...
3
I am trying to install HD-Wallet Derive on my new MacBook Pro with the Apple A1 chip.
For which I need to install the latest version of PHP (7.3 at this current time).
So when I hit this command br...
1
Solved
When trying to install the R gmp package, the installation fails because of the following error:
configure: error: Header file gmp.h not found
the whole log:
> installing *source* package 'gmp' ...
Hurl asked 9/11, 2022 at 12:58
5
I need to get all the prime factors of large numbers that can easily get to 1k bits.
The numbers are practically random so it shouldn't be hard.
How do I do it efficiently? I use C++ with GMP libra...
Cockneyfy asked 29/11, 2010 at 6:42
3
I'm trying to set up a library called PBC (Pairing-based cryptography). And this library requires another library called GMP -(GNU Multiple-Precision Library).
My problem is after installing GMP ...
2
Solved
The current release of the package gmp does not support set operations such as intersect, setdiff , etc. I'm doing some work with number sequences (see OEIS for examples) and need to handle large c...
Gazebo asked 1/6, 2022 at 18:36
6
Solved
I downloaded GCC 4.5 from http://www.netgull.com/gcc/releases/gcc-4.5.0/ but when I try to setup / build I am getting below error:
Linux:>~/shared_scripts/bin/gcc/gcc-4.5.0 1040> /x/home/pra...
3
Solved
I'm trying to compile this simple GMP program on Cygwin:
#include <gmp.h>
int main(){
mpz_t i;
mpz_init(i);
}
This is the command:
gcc -lgmp test.c
I get this error:
/tmp/ccJpGa7K.o:t...
Justification asked 14/3, 2015 at 7:52
5
Solved
Is there any logarithm function implemented in the GMP library?
2
Solved
The GMP docs say that static linking may provide a small performance improvement.
I am having a problem getting it to staticly link libgmp on my Linux systems. I've narrowed down the issue I'm hav...
Eriha asked 8/11, 2011 at 21:7
1
GMP provides methods for initializing and assigning an mpz_t.
A call to mpz_init_set(a, b) will assign to a the content of b. However, I assume, this performs a deep copy on b.
On my project I need...
Berkshire asked 24/2, 2012 at 14:53
3
Solved
Alright, this has been driving me insane. I've been trying this for at least a month, and no where on the internet is helping.
I followed the steps of this. Not even the example works when I do th...
Tinsel asked 10/12, 2016 at 22:6
2
Solved
I'm trying to build a C library (GMP 6.0.0) for arm64 for use on iOS. I'm running the configure script with the invocation below (compiler is as found using xcrun --find).
./configure \
CC="/Appli...
3
7
Solved
I have installed GMP using the instruction on this website: http://www.cs.nyu.edu/exact/core/gmp/
Then I looked for an example program using the library:
#include <iostream>
#include <gmpx...
12
Solved
I was getting the following error when trying to run composer update on a SimpleSAML project.
- openid/php-openid dev-master requires ext-gmp * -> the requested PHP extension gmp is missing fro...
4
Solved
Is there any way to use PHP GMP Functions on windows without using a virtual machine?
Thanks in advance.
[http://php.net/manual/en/ref.gmp.ph]
1 Next >
© 2022 - 2025 — McMap. All rights reserved.