
laurent.orseau
2022-3-4 14:42:35
> (max 0 -0.0 )
-0.0
> (max 0 +0.0)
0.0
>
:thinking_face:


laurent.orseau
2022-3-4 14:50:46
(min –0.0 0) = –0.0 is slightly disturbing though. I understand the logic, but still.

laurent.orseau
2022-3-4 14:53:22
In particular this leads to: > (/ 1. (max 0 -0.))
-inf.0

soegaard2
2022-3-4 17:43:32
> (= -0.0 0)
#t

soegaard2
2022-3-4 17:44:27
> (max –0.0 0) 0.0 > (max 0 –0.0) –0.0

soegaard2
2022-3-4 17:45:14
:thinking_face:

laurent.orseau
2022-3-4 17:46:14
> (/ 1. (max 0 -0.))
-inf.0
:grimacing:

soegaard2
2022-3-4 17:46:47
Let’s ban 0.

soegaard2
2022-3-4 17:47:17
And division.

laurent.orseau
2022-3-4 17:47:39
also negative numbers

marvin.d.hernandez
2022-3-4 22:41:21
@marvin.d.hernandez has joined the channel

rokitna
2022-3-4 23:58:04
everything else looks ideal to me, but it’s odd that (max -0.0 0)
cares about the argument order