From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: most-positive-float, most-negative-float coming up nil Date: Tue, 25 Oct 2011 21:45:16 +0530 Message-ID: <81r521avzf.fsf@gmail.com> References: <877h3tawq3.fsf@interalia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319559349 12271 80.91.229.12 (25 Oct 2011 16:15:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 16:15:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Burton Samograd Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 25 18:15:45 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RIjfD-0003ZC-3L for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2011 18:15:43 +0200 Original-Received: from localhost ([::1]:36921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIjfC-0005fO-KY for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2011 12:15:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIjf9-0005XH-ET for emacs-devel@gnu.org; Tue, 25 Oct 2011 12:15:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIjf6-0003vV-3x for emacs-devel@gnu.org; Tue, 25 Oct 2011 12:15:39 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:47072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIjf5-0003vK-Vo for emacs-devel@gnu.org; Tue, 25 Oct 2011 12:15:36 -0400 Original-Received: by vcbfk1 with SMTP id fk1so783694vcb.0 for ; Tue, 25 Oct 2011 09:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=sl2HejScPg6JEzWA9xvpKS6PYJi0NP0gt+4FOn12U6s=; b=en+PfA8fnndoqbvaj0v9hpj4xYXF/RHTJZgVt1zQKWcMwY046jWIobzqRE/bk+30/n 7T1o+4rAnsxkrzkeNqCE4TOIfmi5QjOdyuWSdytQeG291VCvoLcG2efHPQI1mUbyARzV DUp+Qk2XK09IbC/DxdnUrjzlB5YBF8vu8aIOQ= Original-Received: by 10.68.31.132 with SMTP id a4mr58589586pbi.26.1319559334602; Tue, 25 Oct 2011 09:15:34 -0700 (PDT) Original-Received: from JAMBU-NETBOOK ([115.241.105.54]) by mx.google.com with ESMTPS id jm5sm8291596pbc.1.2011.10.25.09.15.29 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Oct 2011 09:15:32 -0700 (PDT) Mail-Followup-To: Burton Samograd , emacs-devel@gnu.org In-Reply-To: <877h3tawq3.fsf@interalia.com> (Burton Samograd's message of "Tue, 25 Oct 2011 09:59:16 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145521 Archived-At: Burton Samograd writes: > Version: "GNU Emacs 24.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) > of 2011-10-07 on bsamograd-ubuntu" > > Just playing around with emacs lisp and I thought I would try the > most-positive/most-negative variables to see numeric range. > > most-positive-fixnum > 2305843009213693951 > most-negative-fixnum > -2305843009213693952 > most-positive-float > nil > most-negative-float > nil > > Any reason why the float values are coming up nil? M-: (info "(cl) Implementation Parameters") Or M-x info-display-manual RET cl RET i most-positive-float will land you in a page which has the following entry. ,---- | -- Function: cl-float-limits | This function makes sure that the Common Lisp floating-point | parameters like `most-positive-float' have been initialized. | Until it is called, these parameters will be `nil'. If this | version of Emacs does not support floats, the parameters will | remain `nil'. If the parameters have already been initialized, | the function returns immediately. | | The algorithm makes assumptions that will be valid for most modern | machines, but will fail if the machine's arithmetic is extremely | unusual, e.g., decimal. `---- > > -- > Burton Samograd > > > --