How to use GMP.
Hashida
jhashida@fls.fujitsu.com
Thu, 08 May 2003 18:56:51 +0900
--------------D45917392C059BE73FC104AC
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Hi.
Everyone don't have to mind what I am interested in.
I have not reached the necessary level yet.
I am not going to modify GMP source code from the first.
Simply I was interested in MP_INT structure.
Thank you.
Hashida
DTAshley@aol.com wrote:
> Yeah, I agree, this is getting out of hand.
>
> The GMP web page needs to be changed so that you have to pass a
> C-language test and computer literacy (linkers, compilers, make files)
> test before you can download the source code. If you can't pass the
> test, you can only get the binaries.
>
> Dave.
>
> In a message dated 5/8/2003 12:40:27 AM Eastern Daylight Time,
> hamdy@math.ucalgary.ca writes:
>
>
>> On Wednesday 07 May 2003 21:08, Hashida wrote:
>>
>> >In addition, what does "_mp_alloc" mean?
>> >Is "aaaaa._mp_alloc" 2 because "aaaaa" is used twice in mpz_*** ?
>> >(set 1 in "mpz_init" and set 2 in "mpz_mul_ui")
>>
>> Boy, why don't you just use the regular interface?!! Ordinary
>> users, and
>> particularly beginners, are not supposed to fiddle around with the
>> internals
>> of mpz_t objects.
>>
>> Just say
>>
>> mpz_t a, b;
>>
>> ...
>>
>> and you're fine! No strange results!
>>
>> Since you yourself said that you are rather new to C _and_ GMP, you
>> really
>> should _first_ get some experience with just C before exploring the
>> GMP
>> internals. But even so, some GMP internals are descibed in the
>> manual.
>>
>>
>> --
>>
>> S. Hamdy | All primes are odd except 2,
>> Dept. of Mathematics &Statistics | which is the oddest of all.
>> University of Calgary |
>> |
>> unsolicited commercial e-mail |
>> is strictly not welcome |
>> _______________________________________________
>> gmp-discuss mailing list
>> gmp-discuss@swox.com
>> https://gmplib.org/mailman/listinfo/gmp-discuss
>
>
>
--------------D45917392C059BE73FC104AC
Content-Type: text/html; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi.
<p>Everyone don't have to mind what I am interested in.
<br>I have not reached the necessary level yet.
<br>I am not going to modify GMP source code from the first.
<br>Simply I was interested in MP_INT structure.
<p>Thank you.
<p>Hashida
<p>DTAshley@aol.com wrote:
<blockquote TYPE=CITE><font face="Arial"><font size=-1>Yeah, I agree, this
is getting out of hand.</font></font>
<p><font face="Arial"><font size=-1>The GMP web page needs to be changed
so that you have to pass a C-language test and computer literacy (linkers,
compilers, make files) test before you can download the source code.
If you can't pass the test, you can only get the binaries.</font></font>
<p><font face="Arial"><font size=-1>Dave.</font></font>
<p><font face="Arial"><font size=-1>In a message dated 5/8/2003 12:40:27
AM Eastern Daylight Time, hamdy@math.ucalgary.ca writes:</font></font>
<br>
<blockquote TYPE=CITE style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"><font face="Arial"><font size=-1>On
Wednesday 07 May 2003 21:08, Hashida wrote:</font></font>
<p><font face="Arial"><font size=-1>>In addition, what does "_mp_alloc"
mean?</font></font>
<br><font face="Arial"><font size=-1>>Is "aaaaa._mp_alloc" 2 because "aaaaa"
is used twice in mpz_*** ?</font></font>
<br><font face="Arial"><font size=-1>>(set 1 in "mpz_init" and set 2 in
"mpz_mul_ui")</font></font>
<p><font face="Arial"><font size=-1>Boy, why don't you just use the regular
interface?!! Ordinary users, and</font></font>
<br><font face="Arial"><font size=-1>particularly beginners, are not supposed
to fiddle around with the internals</font></font>
<br><font face="Arial"><font size=-1>of mpz_t objects.</font></font>
<p><font face="Arial"><font size=-1>Just say</font></font>
<p><font face="Arial"><font size=-1> mpz_t a, b;</font></font>
<p><font face="Arial"><font size=-1> ...</font></font>
<p><font face="Arial"><font size=-1>and you're fine! No strange results!</font></font>
<p><font face="Arial"><font size=-1>Since you yourself said that you are
rather new to C _and_ GMP, you really</font></font>
<br><font face="Arial"><font size=-1>should _first_ get some experience
with just C before exploring the GMP</font></font>
<br><font face="Arial"><font size=-1>internals. But even so, some
GMP internals are descibed in the manual.</font></font>
<br>
<p><font face="Arial"><font size=-1>--</font></font>
<p><font face="Arial"><font size=-1>S. Hamdy
| All primes are odd except 2,</font></font>
<br><font face="Arial"><font size=-1>Dept. of Mathematics &Statistics
| which is the oddest of all.</font></font>
<br><font face="Arial"><font size=-1>University of Calgary
|</font></font>
<br><font face="Arial"><font size=-1>
|</font></font>
<br><font face="Arial"><font size=-1>unsolicited commercial e-mail
|</font></font>
<br><font face="Arial"><font size=-1>is strictly not welcome
|</font></font>
<br><font face="Arial"><font size=-1>_______________________________________________</font></font>
<br><font face="Arial"><font size=-1>gmp-discuss mailing list</font></font>
<br><font face="Arial"><font size=-1>gmp-discuss@swox.com</font></font>
<br><font face="Arial"><font size=-1><A HREF="https://gmplib.org/mailman/listinfo/gmp-discuss">https://gmplib.org/mailman/listinfo/gmp-discuss</A></font></font></blockquote>
<br> </blockquote>
</html>
--------------D45917392C059BE73FC104AC--