unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Marius Vollmer <marius.vollmer@uni-dortmund.de>
Subject: Re: scm_from_ipv6
Date: Mon, 23 Aug 2004 12:27:45 +0200	[thread overview]
Message-ID: <ljfz6eb13y.fsf@troy.dt.e-technik.uni-dortmund.de> (raw)
In-Reply-To: <877jrqr7ni.fsf@zip.com.au> (Kevin Ryde's message of "Mon, 23 Aug 2004 10:59:45 +1000")

Kevin Ryde <user42@zip.com.au> writes:

> A simplification,
>
>         * socket.c (scm_from_ipv6): Just use mpz_import.  Don't bother trying
>         to fit scm_from_ulong_long, since that uses mpz_import anyway.  Don't
>         bother trying to fit scm_from_ulong, not really worth the trouble if
>         addresses are more than 4 bytes usually.

Nice.  I was thinking whether we should export something like
mpz_import and mpz_export for our integers in general.  Such an
operation is obviously needed sometimes.  What do you think?


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


  reply	other threads:[~2004-08-23 10:27 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 ` Marius Vollmer [this message]
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         ` mpz_import Marius Vollmer

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=ljfz6eb13y.fsf@troy.dt.e-technik.uni-dortmund.de \
    --to=marius.vollmer@uni-dortmund.de \
    /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).