[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in mpz_init
From: |
Torbjorn Granlund |
Subject: |
Re: bug in mpz_init |
Date: |
02 Jun 2003 00:28:10 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Michael de Mare <address@hidden> writes:
I initialize three seperate variables separately:
mpz_init(X1);
mpz_init(X2);
mpz_init(J);
mpz_init(T);
after initialization, the variables all point to the same data:
4: T = {{_mp_alloc = 1, _mp_size = 0, _mp_d = 0x804b6d0}}
3: X2 = {{_mp_alloc = 1, _mp_size = 0, _mp_d = 0x804b6d0}}
2: X1 = {{_mp_alloc = 1, _mp_size = 0, _mp_d = 0x804b6d0}}
1: X0 = {{_mp_alloc = 1, _mp_size = -1, _mp_d = 0x804b6e0}}
This is almost certainly a user error.
If you want to get our help rate, you first need to read the
manual again, in particular you need to reread the section
on how to report GMP bugs.
--
Torbjörn
- bug in mpz_init, Michael de Mare, 2003/06/01
- Re: bug in mpz_init,
Torbjorn Granlund <=