From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jose E. Marchesi" Newsgroups: gmane.emacs.devel Subject: bignum support + calc + GNU Emacs Date: Sun, 20 May 2007 21:52:29 +0200 Message-ID: <18000.42749.988254.341456@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1179716752 28043 80.91.229.12 (21 May 2007 03:05:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 May 2007 03:05:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 21 05:05:50 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HpyDB-00071D-Mk for ged-emacs-devel@m.gmane.org; Mon, 21 May 2007 05:05:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpyDB-0003NL-0Y for ged-emacs-devel@m.gmane.org; Sun, 20 May 2007 23:05:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HprSM-0006km-AK for emacs-devel@gnu.org; Sun, 20 May 2007 15:52:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HprSK-0006kO-8f for emacs-devel@gnu.org; Sun, 20 May 2007 15:52:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HprSK-0006kJ-5L for emacs-devel@gnu.org; Sun, 20 May 2007 15:52:40 -0400 Original-Received: from [217.168.3.246] (helo=termi.gnu.org) by monty-python.gnu.org with esmtpa (Exim 4.60) (envelope-from ) id 1HprSI-0002gz-Mz for emacs-devel@gnu.org; Sun, 20 May 2007 15:52:39 -0400 X-Mailer: VM 7.19 under Emacs 22.0.97.1 X-detected-kernel: Genre and OS details not recognized. X-Mailman-Approved-At: Sun, 20 May 2007 23:05:26 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71460 Archived-At: Hi all. I am in the process of writing uuid.el, a implementation of the ITU X.667 standard for the generation of Universal Unique Identifiers. I need that support for the AddressBook[1]. In order to generate the uuids the program should manipulate 60-bit unsigned integers. The question is, for a program/library supposed to work in GNU Emacs, would it be considered good practice to use (require) calc's lisp implementation of bignums, considering uuid.el is intended to be a quite generic library? On the other hand, i made a search in the emacs-devel archive for discussion regarding bignum support, without results. I think would be quite good to have some "standarized" way to use bignum/bigfloats in Emacs. I like the calc way to manage the issue in pure lisp, but to make the garbage collector to work with libgmp would be great too (i think XEmacs already has support for libgmp). Any though? [1] http://www.emacswiki.org/cgi-bin/wiki/AddressBook -- Jose E. Marchesi GNU Project http://www.gnu.org GNU Spain http://es.gnu.org