|
|
|
|
|
by Dylan16807
602 days ago
|
|
> I wasn't trying to draw attention to comparisons for equality. Perhaps I should've used an arrow => instead Then it's even less of issue. Yes if you convert to a float you get rounding, what did you expect when you introduced a float? It's somewhat unintuitive but that's the nature of floating point. > The real point is that you can get some non-intuitive answers from letting that numeric tower make conversion decisions for you. It's just a rule, and it's not an amazing rule. But again, you can have the same kind of issue without bignums. It's not a tower problem it's a float problem. |
|
And that says nothing about whether implicit conversions are a good idea or not.