Thanks for the response.

To get an idea of what I mean,  visit http://www.wolframalpha.com/''.
Then enter something ridiculous (to me, at least) like 100000!

The answer is almost instantaneous.

The question is: how would someone write idiomatic Clojure in such a
way that it gives exact results for n, and reasonable approximations
(BigDecimal?) for large values of n, without having to write a
separate function?

In imperative/procedural languages, based available computing
resources one would arrive at some arbitrary value (say, 1000) and use
different algorithms based on the size of n. Is this also the case for
Clojure?

-- 
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

Reply via email to