An infinite loop on large inputs is unrelated to his null-pointer problem. As SICP makes clear, the imprecision of floating-point arithmetic means this particular algorithm will not terminate for large inputs. That is, rounding errors stop it from making progress when the numbers are large and the deltas small. If a larger (or adaptive) delta were chosen, this would succeed.
On Oct 16, 4:52 am, Timo Grodzinski <timo.grodzin...@googlemail.com> wrote: > +1 hangs with Clojure 1.2.1 in Slimes REPL on Java 1.6.0_26 (Ubuntu) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en