>>>>> "Carsten" == Carsten Neumann <[EMAIL PROTECTED]> writes:

Carsten> the attached patch implements java.lang.StrictMath#cbrt, but I'm
Carsten> actually quite ashamed to post it: I'm not very knowledgeable about
Carsten> floating point arithmetic, so I just followed the implementation in
Carsten> fdlibm (www.netlib.org/fdlibm).

That's the way to do it.

Carsten> +    int[]  words = new int[2];

I think cbrt should not require allocation.  It shouldn't be too hard
to rewrite it without this... could you do that?

Tom

Reply via email to