unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Marius Vollmer <mvo@zagadka.de>
Cc: guile-devel@gnu.org
Subject: Re: mpz_import
Date: Tue, 21 Sep 2004 02:28:51 +0200	[thread overview]
Message-ID: <873c1cv518.fsf@zagadka.ping.de> (raw)
In-Reply-To: <D09EAA78-F9D0-11D8-A510-000D93673682@gmx.net> (Andreas Vögele's message of "Sun, 29 Aug 2004 17:33:45 +0200")

Andreas Vögele <voegelas@gmx.net> writes:

> I'd include <gmp.h> in libguile/numbers.h and provide two C functions:
>
> void scm_to_mpz_t (SCM val, mpz_t result);
> SCM scm_from_mpz_t (mpz_t val);

Excellent, I like this a lot.  I was thinking about providing
scm_export_intgeror something like that, duplicating the mpz
functions, but this is much nicer.  It _does_ expose the use of GMP,
but we will be tied to that for a the time being anyway.

I will install your code and documentation.  We can use it without any
paper work since it is, while elegant, short enough.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


      parent reply	other threads:[~2004-09-21  0:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-23  0:59 scm_from_ipv6 Kevin Ryde
2004-08-23 10:27 ` scm_from_ipv6 Marius Vollmer
2004-08-23 12:25   ` mpz_import (was: scm_from_ipv6) Andreas Vögele
2004-08-23 13:19     ` mpz_import Marius Vollmer
2004-08-29 15:33       ` mpz_import Andreas Vögele
2004-08-31  7:47         ` mpz_import Andreas Vögele
2004-09-20 23:21           ` mpz_import Marius Vollmer
2004-09-21  0:28         ` Marius Vollmer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873c1cv518.fsf@zagadka.ping.de \
    --to=mvo@zagadka.de \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).