On Wed, May 18, 2011 at 10:24 AM, David Nolen <dnolen.li...@gmail.com> wrote:
> On Tue, May 17, 2011 at 7:56 AM, 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.)
>
> In 1.2.0:
> (/ (double 1.0) (double 0.0))
> In 1.3.0:
> (/ 1.0 0.0)

Thanks.

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

Reply via email to