On Wed, May 18, 2011 at 10:24 AM, David Nolen wrote:
> On Tue, May 17, 2011 at 7:56 AM, Ken Wesson 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 ru
On Tue, May 17, 2011 at 7:56 AM, Ken Wesson 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
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 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.