From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#42644: 28.0.50; Please let max and min accept zero arguments Date: Mon, 3 Aug 2020 13:05:37 +0200 Message-ID: References: <87tuxmkhd9.fsf@web.de> <87d048wkf8.fsf@web.de> 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="32103"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Alexandrov , 42644@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 03 13:06:12 2020 Return-path: Envelope-to: geb-bug-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 1k2YIF-0008Cq-20 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Aug 2020 13:06:11 +0200 Original-Received: from localhost ([::1]:39420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2YIE-0000ys-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Aug 2020 07:06:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2YI6-0000yS-GU for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2020 07:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2YI6-0003F6-7f for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2020 07:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2YI6-0005jp-2Z for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2020 07:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Aug 2020 11:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42644 X-GNU-PR-Package: emacs Original-Received: via spool by 42644-submit@debbugs.gnu.org id=B42644.159645275722044 (code B ref 42644); Mon, 03 Aug 2020 11:06:02 +0000 Original-Received: (at 42644) by debbugs.gnu.org; 3 Aug 2020 11:05:57 +0000 Original-Received: from localhost ([127.0.0.1]:44448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2YI0-0005jU-Ve for submit@debbugs.gnu.org; Mon, 03 Aug 2020 07:05:57 -0400 Original-Received: from mail-yb1-f175.google.com ([209.85.219.175]:40475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2YHx-0005jC-TW for 42644@debbugs.gnu.org; Mon, 03 Aug 2020 07:05:55 -0400 Original-Received: by mail-yb1-f175.google.com with SMTP id q3so455925ybp.7 for <42644@debbugs.gnu.org>; Mon, 03 Aug 2020 04:05:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=y5twQ52jHg92b6lrz0YObkfU1tcC3BUCUMKB8B5mlWA=; b=LP8TJNH1T96Of0ngE1nVTOkSeI4MVQuIXFTqIF5dlQopMtcy4hzRZnUNlcHncGkKu8 Zxhb4mQmrc6YUz1XtiqkjMABxmLHMLBY21Z1jPg3e7r6fZdexKod/3p/bXVBg8PaEwyl vlhMGwaao12BTHkzxUB2ArA0gOuGNcw5hSdbDt6jIkwL5pLzxEfiHMH5b6MEA5qJRq6V 5CWP6YJ21wZeARAmTMmoXJYYgxXdzilPot+Api5afXbPYoAnN8UBeUTLuyn6NK5/nJv8 leU5eObh08x5opTxlk+72cjnDuNZ/d4VtwIVXdQoQDOFlzt1rtiKXCMtDTrLhHbqy521 1J3w== X-Gm-Message-State: AOAM533A2BcM7pebxZvJFh5w7QogeTuV1dEtV0283EHBcR6gTblz8cQs Urp91DNz+ITN18kH7fprwAzEUSDZsofESrOiJU4= X-Google-Smtp-Source: ABdhPJz54Qzi3Y7kwf2lC1Iwm9BT+dP0L0ARyhx/cEpYpN0eXBjkJb4SnB8h8KFk+JMvTvxUdOzzV1xO4sBADsZDOYs= X-Received: by 2002:a25:2f94:: with SMTP id v142mr11896308ybv.43.1596452748265; Mon, 03 Aug 2020 04:05:48 -0700 (PDT) In-Reply-To: <87d048wkf8.fsf@web.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183932 Archived-At: Michael Heerdegen writes: > > As for that regard, what=CA=BCs wrong with, (/ +1.0 0) and (/ -1.0 0)? > > Wow, that doesn't error? It's hard to find a mathematical > interpretation in which this makes any sense. IMHO much more weird than > allowing zero args for `max' and `min'. I guess this is related to IEEE-754. I found an explanation here: https://stackoverflow.com/questions/14682005/why-does-division-by-zero-in-i= eee754-standard-results-in-infinite-value Best regards, Stefan Kangas