From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wojciech Meyer Newsgroups: gmane.emacs.devel Subject: Re: Pushing the `gnus-range-*' functions down into the C layer Date: Fri, 10 Sep 2010 15:19:11 +0100 Message-ID: References: <8739ti68sz.fsf@lifelogs.com> <87pqwm1dsl.fsf@uwakimon.sk.tsukuba.ac.jp> <87iq2d4sd5.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284128376 22237 80.91.229.12 (10 Sep 2010 14:19:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 14:19:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 10 16:19:35 2010 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.69) (envelope-from ) id 1Ou4Ru-0005rT-Ux for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2010 16:19:31 +0200 Original-Received: from localhost ([127.0.0.1]:37524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou4Rr-00024k-9c for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2010 10:19:27 -0400 Original-Received: from [140.186.70.92] (port=51994 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou4Rg-000236-3J for emacs-devel@gnu.org; Fri, 10 Sep 2010 10:19:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou4Rc-0004eu-AJ for emacs-devel@gnu.org; Fri, 10 Sep 2010 10:19:15 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:34258) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou4Rc-0004em-7U for emacs-devel@gnu.org; Fri, 10 Sep 2010 10:19:12 -0400 Original-Received: by ywl5 with SMTP id 5so1503898ywl.0 for ; Fri, 10 Sep 2010 07:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Ol7rqrOG4wYBlMuTRJqnt7CSUHPptNfTHjyKVsOfQ4U=; b=F+U8nKREYEHFAxZjOJ7+SoelKuLuZjwnyX3sU9+4GTEtvW97tabJIPz7T44rer2w4y mQuSdiRV4Y5UpfslWKtsKQs8x6rTuZCZMaZ3rBUfACbms/PMMs860jSjWTTtnChxLJD2 XxEzhmuRhHKf3BNZueiV0q/t8M2t9A0NLRpZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Qb97XVJnnTdoFco0/yT1eEA+syu0/Nv7TP7/mgcnYDjF0ZvOlxsPyV+Brh/dPwW77o 5d13TZ9w9crkpzCZXvcOaz6jAKapis/oKVuSq2S/bNiOlFNEJF+C0pnfdWDr2Z9nsR+L cDx1S884ZxgmD3EfFvzR+npFWmzv5rG8v+vMU= Original-Received: by 10.229.84.20 with SMTP id h20mr724119qcl.6.1284128351499; Fri, 10 Sep 2010 07:19:11 -0700 (PDT) Original-Received: by 10.229.92.9 with HTTP; Fri, 10 Sep 2010 07:19:11 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:129907 Archived-At: On Fri, Sep 10, 2010 at 3:15 PM, Lars Magne Ingebrigtsen w= rote: > Leo writes: > >> On 2010-09-10 15:01 +0100, Lars Magne Ingebrigtsen wrote: >>> Yeah. Bignum support in Emacs would totally rock. No more manual >>> conversions to floating point numbers to do safe-ish computations on >>> numbers that might be too big would be needed. >>> >>> But I suspect that it's a kinda big project. =A0:-) >> >> GNU already has http://gmplib.org/. Would love to see it linked in too ;= ) > > Let me just quote a random line from the Emacs sources: > > =A0int nbytes =3D XINT (length); > > And then think about what you'd have to do to make Emacs support random > precision arithmetic. =A0It makes me swoon just to contemplate. =A0:-) You have a type system. You don't need to make functions to accept bignums = as a replacement for ints. They have quite limited usage, mostly for numerical computations. I tend to agree it would be nice to have them though. > > -- > (domestic pets only, the antidote for overdose, milk.) > =A0larsi@gnus.org * Lars Magne Ingebrigtsen > > >