![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://fry.gs/pictrs/image/c6832070-8625-4688-b9e5-5d519541e092.png)
81·
1 month agoI have to admit: If you (semi-)regularly use floating point comparisons in programming, I don’t know why you would ever expect 0.1 + 0.2 == 0.3 to return true. It’s common practice to check abs(a - b) < tol
, where tol
is some small number, to the point that common unit-testing libraries have built-in methods like assertEqual(a, b, tol)
specifically for checking whether floats are “equal”.
I’ve been missing an alternative to Facebook that I can use for non-anonymous planning of events and communication in hobby groups etc. and I had never heard of any of the “Facebook-type” federated stuff before!
Now I just need to convince a bunch of people that this is viable to use without being the annoying guy…