Smith wrote: > The problem with areclose(), however, is that it > only solves one part of the problem that needs to be solved > if two fp's *are* going to be compared: if you are going to > check if a < b you would need to do something like > > not areclose(a,b) and a < b No, no, no. If your algorithm is well-designed, it won't matter which way the comparison goes if a and b are that close. In any case, the idea behind nice() is fundamentally doomed. IT CANNOT WORK, because the numbers it's returning are still binary, not decimal. Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4