From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: percent-change Date: Sun, 14 May 2023 21:29:48 +0700 Message-ID: References: <87r0rnxa6v.fsf@dataswamp.org> <87zg68w73s.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12286"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 14 16:30:21 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pyCjt-00030A-1i for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 May 2023 16:30:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pyCjm-0008HI-9H; Sun, 14 May 2023 10:30:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pyCjc-0008GE-CS for help-gnu-emacs@gnu.org; Sun, 14 May 2023 10:30:04 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pyCja-0002cN-V9 for help-gnu-emacs@gnu.org; Sun, 14 May 2023 10:30:04 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3062b101ae1so7600970f8f.2 for ; Sun, 14 May 2023 07:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684074601; x=1686666601; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ntq9XE9p5wq1u34I7+3noCmsfsUS7K5fRNZPwtjSh9I=; b=YGkUVRooPNgoypVPn+Ik/qsoa9wR1woiLhkHxxmU026ga8x+v6LyhIrc5CXvqp81ld 4s7cifNSPV+ntIysZZBnlnUMDi21J5F5VeL88GgDSYnTpooq1rSE8agYsdTyDqNmmk+q ukTd/3/D7hEaXkBqYLfa4GeLoqX9Vfo/Vv3EEDhNbmPZut7Lpukuvc4/CRf3q3xFGe8f Gq35men2j7lhHH7/pgRDjJeJv/AvQcxvxpmFwkKqVn/xE5YBA2d81vg24oNOyjDva7ii ltqkqpYoTLW66RttYh54rZ6dctmgrw7e36R9C1jw3wAt8xaHnkacBSPDIYek+3lFW7sD Oh2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684074601; x=1686666601; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ntq9XE9p5wq1u34I7+3noCmsfsUS7K5fRNZPwtjSh9I=; b=bK9CZUbFyWSLDAAXPamm+0cPjstN6y3izQPons+DnA0fGYV0q1bv8ESohD/3dR9wi1 JSKDSjinnM1kjH9GTvhue8xDke7MvtHhXngj6CSgiMF/xGpqHfcZgL6BiY/PLdFHRhq2 MrcNEZ2j0waCtGvtclY1d9t58w6FYTY6+99sCy83EF8FmGzaDC4pDi72jex3Hf9q7QDI bsoulKEHbdDBVnCxk77YaSHmhhN92xCY2Gt/g2VjWm8+1h0Z6ZSZ9tgqFVu14kfOsNRu NkFFZe3Dl09SxSrGHIzRLGIiSxoS0WxSRfjWAo0hd1hGD7ZoRdjo9cqv4birEVhiG+93 s0zg== X-Gm-Message-State: AC+VfDznjnILaeEpOs07tkuqNBX4qI1eFGTU9j0+01TF9WaKEV+NYbyG dTVfdrWtmgos8osHSmtIuibyGamHyads4e16JIl5Rs0SIGY= X-Google-Smtp-Source: ACHHUZ4KX6riJpTqAG3QgHgN91i6HrxNJEk36MKJC07N/kl2pSKPsZhRw//YvrQPWE/m6a+QIfAdrZEOEIms+a/5Hsk= X-Received: by 2002:adf:ea4a:0:b0:306:3912:a7f0 with SMTP id j10-20020adfea4a000000b003063912a7f0mr23385460wrn.50.1684074600813; Sun, 14 May 2023 07:30:00 -0700 (PDT) In-Reply-To: <87zg68w73s.fsf@dataswamp.org> Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=yurivkhan@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143598 Archived-At: On Sun, 14 May 2023 at 19:20, Emanuel Berg wrote: > But how/why does that work if 'from' is 0? > > (/ 1 0 0.01) ; 1.0e+INF > > What does that mean? In floating point, dividing by zero is allowed and yields +infinity, -infinity or (quiet) not-a-number depending on the sign of the numerator. =E2=80=98/=E2=80=99 knows to perform the division in floating wh= en at least one operand is a float, which 0.01 nicely provides. =E2=80=9C1.0e+INF=E2=80= =9D is just the printed representation for positive infinity.