Hi, John-- On Sat, Jul 26, 2014 at 7:47 PM, John Cowan <[email protected]> wrote: > Matt Gushee scripsit:
> Other posters have addressed the main issues, but I'll just point out > that "inexact comparison" means "comparison for equality of inexact > numbers". Epsilon is applied only by the default predicate: it's > assumed that if you write your own equality predicate, you know what > you want. I was coming to that conclusion myself, but it's good to have an authoritative answer. > = also works correctly for all floats. It's computation itself that > isn't always mathematically correct, Indeed. I know that much, at least. Though I can still remember the time (around 2001?) when I saw that a calculation that was supposed to produce 1 actually produced 0.9999962734 or something like that, and I went WTFFF? Thanks. -- Matt _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
