From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.bugs Subject: Re: Bad deprecation warnings in numbers.c Date: Sun, 14 Apr 2002 00:11:51 -0500 Sender: bug-guile-admin@gnu.org Message-ID: <87hemeoodk.fsf@raven.i.defaultvalue.org> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1018761148 25366 127.0.0.1 (14 Apr 2002 05:12:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 14 Apr 2002 05:12:28 +0000 (UTC) Cc: Neil Jerram , Guile Bugs Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16wcJQ-0006b1-00 for ; Sun, 14 Apr 2002 07:12:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16wcJ5-0007ph-00; Sun, 14 Apr 2002 01:12:07 -0400 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16wcIs-0007pM-00 for ; Sun, 14 Apr 2002 01:11:54 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 5161644B2; Sun, 14 Apr 2002 00:11:53 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 768122D86; Sun, 14 Apr 2002 00:11:51 -0500 (CDT) Original-To: Dirk Herrmann In-Reply-To: (Dirk Herrmann's message of "Tue, 2 Apr 2002 21:16:55 +0200 (MEST)") Original-Lines: 31 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) Errors-To: bug-guile-admin@gnu.org X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.bugs:127 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:127 Dirk Herrmann writes: > IMO, people should not use any of these functions at all. We should > try to remove their use from other places within guile as well. The > reason is, that these functions depend on the implementation of the > bignums, which should be considered the secret knowledge of the > number implementation. It is, btw., likely to change in the not too > far future, if for example we manage the switch to the GNU mp > library. FWIW I've got GMP bignum's working here :> Guile passes make check, but I've still got a lot of FIXMEs and #warnings to repair. IMO, scm_i_mkbig probably shouldn't be used by user code and shouldn't even be in numbers.h unless (as is the case ATM) other libguile code needs to call it. (The only way around that I can think of would be go to a "public/private" header arrangement.) However, a function like void scm_num2mpz(mpz_t dest, SCM src); (or similar) might not be a bad idea. We could continue to provide it in libguile or in a helper lib indefinitely, no matter what our internal representation is. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile