From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bill Schottstaedt Newsgroups: gmane.lisp.guile.devel Subject: Re: ratio implementation Date: Thu, 16 Oct 2003 04:49:56 -0700 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <3F8E85E4.7060408@ccrma> References: <3F250809.9030108@ccrma.stanford.edu> <87smmyibk7.fsf@zagadka.ping.de> <3F6637EC.7010004@dirk-herrmanns-seiten.de> <3F66F68B.3070100@ccrma.stanford.edu> <3F6A1F1A.8000507@dirk-herrmanns-seiten.de> <87pth9cbmt.fsf@zagadka.ping.de> <3F8A853D.1020708@ccrma> <87oewjcrwq.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1066305066 11868 80.91.224.253 (16 Oct 2003 11:51:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 11:51:06 +0000 (UTC) Cc: guile-devel@gnu.org, Marius Vollmer Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Oct 16 13:51:04 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AA6em-0002Cx-00 for ; Thu, 16 Oct 2003 13:51:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AA6ei-0006MW-TL for guile-devel@m.gmane.org; Thu, 16 Oct 2003 07:51:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AA6eQ-00069K-Qd for guile-devel@gnu.org; Thu, 16 Oct 2003 07:50:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AA6dq-0005YJ-AN for guile-devel@gnu.org; Thu, 16 Oct 2003 07:50:40 -0400 Original-Received: from [171.67.16.34] (helo=smtp7.Stanford.EDU) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AA6dp-0005Xq-37 for guile-devel@gnu.org; Thu, 16 Oct 2003 07:50:05 -0400 Original-Received: from cm-mail.stanford.edu (cm-mail.Stanford.EDU [171.64.197.135]) by smtp7.Stanford.EDU (8.12.10/8.12.10) with ESMTP id h9GBnvm7028968; Thu, 16 Oct 2003 04:49:57 -0700 (PDT) Original-Received: from ccrma (cmn13.stanford.edu [171.64.197.162]) by cm-mail.stanford.edu (8.11.6/8.11.6) with ESMTP id h9GBnu917354; Thu, 16 Oct 2003 04:49:56 -0700 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en Original-To: Kevin Ryde In-Reply-To: <87oewjcrwq.fsf@zip.com.au> X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2880 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2880 If Guile wants to support "bignum floats" so to speak, I think it could use gmp floats -- this strikes me as a big task; I don't think its current dependence on doubles and double->long conversions can be pushed very far. I'll add a check in scm_rationalize for an error whose inverse can't fit in a long and switch over to gmp in that case, but I think the 0 error case should use the simple version -- if someone wants pi to 10000000 decimals, he should ask for it explicitly. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel