wffl

vaguely burnt

  • it/its

I do stuff; pfp by spicymochi


You must log in to comment.

in reply to @fullmoon's post:

you've probably seen me say it before, but I think == on floats is bad pl design generally. the majority of the times it's used one of the following is true:

  1. you're using the float as an int because your PL has bad number types
  2. you actually want to be testing if the values are within some epsilon of each other
  3. you're interested in bitwise equality and want NaN to be equal to NaN
    I feel like the case were you're doing a numeric algorithm where IEEE-754 equality is actually the thing you want a much rarer.