From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: What version of GMP should we require? Date: Tue, 22 Feb 2011 20:33:11 -0500 Message-ID: <87y657wn54.fsf@netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1298424809 4056 80.91.229.12 (23 Feb 2011 01:33:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2011 01:33:29 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Feb 23 02:33:24 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ps3bW-0003N5-Oz for guile-devel@m.gmane.org; Wed, 23 Feb 2011 02:33:22 +0100 Original-Received: from localhost ([127.0.0.1]:44162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ps3bW-0004Uc-Ae for guile-devel@m.gmane.org; Tue, 22 Feb 2011 20:33:22 -0500 Original-Received: from [140.186.70.92] (port=39387 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ps3bT-0004Q8-Bh for guile-devel@gnu.org; Tue, 22 Feb 2011 20:33:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ps3bS-0004GI-B1 for guile-devel@gnu.org; Tue, 22 Feb 2011 20:33:19 -0500 Original-Received: from world.peace.net ([216.204.32.208]:41434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ps3bS-0004G8-87 for guile-devel@gnu.org; Tue, 22 Feb 2011 20:33:18 -0500 Original-Received: from ip68-9-118-38.ri.ri.cox.net ([68.9.118.38] helo=freedomincluded) by world.peace.net with esmtpa (Exim 4.69) (envelope-from ) id 1Ps3bN-0006Tv-53; Tue, 22 Feb 2011 20:33:13 -0500 Original-Received: from mhw by freedomincluded with local (Exim 4.69) (envelope-from ) id 1Ps3bL-0002Fu-W1; Tue, 22 Feb 2011 20:33:12 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 216.204.32.208 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11691 Archived-At: Hello all, I recently noticed that scm_i_big2dbl contains some crufty and inefficient compatibility code to work around unspecified rounding behavior of mpz_get_d in GMP prior to version 4.2. GMP 4.2 was released in March 2006 and has been in Debian since sarge (now oldstable). How would you feel about making Guile 2.0.x require GMP 4.2 or later? I'm hoping to fix several bugs having to do with rounding in 2.0.x, and it would simplify things quite a bit if I could trust the rounding behavior of mpz_get_d. Best, Mark