I don't know if there's something inbuilt, but this should work:
https://gist.github.com/978643

Jonathan

On Tue, May 17, 2011 at 1:56 PM, Ken Wesson <kwess...@gmail.com> wrote:

> How does one perform an unchecked floating point division? (/ 1.0 0.0)
> throws an exception -- what goes in place of _ to make (_ 1.0 0.0)
> produce Double/POSITIVE_INFINITY? (And run faster than something that
> does checking instead of just boiling down to a single FDIV
> instruction post-JIT.)
>
> --
> Protege: What is this seething mass of parentheses?!
> Master: Your father's Lisp REPL. This is the language of a true
> hacker. Not as clumsy or random as C++; a language for a more
> civilized age.
>
> --
> 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

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