bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42644: 28.0.50; Please let max and min accept zero arguments


From: Stefan Kangas
Subject: bug#42644: 28.0.50; Please let max and min accept zero arguments
Date: Mon, 3 Aug 2020 13:05:37 +0200

Michael Heerdegen <michael_heerdegen@web.de> writes:

> > As for that regard, whatʼs 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-ieee754-standard-results-in-infinite-value

Best regards,
Stefan Kangas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]