Currently this uses floats to perform arithmetic, which leads to unexpected evals over certain numerical intersections
This test currently passes, but most people's general conceptions would expect this to fail
test "floating point arithmetic" do
refute JsonLogic.apply(%{"+" => [0.1, 0.2]}) == 0.3
assert JsonLogic.apply(%{"+" => [0.1, 0.2]}) == 0.30000000000000004
end
Currently this uses floats to perform arithmetic, which leads to unexpected evals over certain numerical intersections
This test currently passes, but most people's general conceptions would expect this to fail