News for hackers. Stuff that matters.
Re:The Loudest Lisp Program by kazinator on Friday May 03, 2024 @09:53AM (#40247688)
If you want to test whether x is 1.0 or 1, then (= x 1) is what you want. But = is specific to numbers and blows up on non-numbers.

The family of functions whose names begin with eq are special in that they are applicable to all objects; equal will tell you that "abc" is not 1 without complaining.

Re:The Loudest Lisp Program by kgwgk on Friday May 03, 2024 @11:11AM (#40248590)
But - with the exception of equalp - they may fail to identify as equal numbers which are equal (=). I suggested to use = to compare numbers specifically.