You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should look into these for both Parrot and JVM backends:
< BenGoldberg> Your big integer pow_I is missing a few special cases...
< BenGoldberg> When the exponent is positive and even, and the base is
neg one, return pos one
< BenGoldberg> When the exponent is positive and odd, and the base is neg
one, return neg one
< BenGoldberg> When the exponent is huge, and the base is less than neg
one, return either Inf or -Inf depending on whether the
exponent is odd or even
< BenGoldberg> When the exponent is negative, and the base is zero,
return Inf
< BenGoldberg> In that last case, you might want to throw a division by
zero, instead.
The text was updated successfully, but these errors were encountered:
@leto the code for the Parrot side of things actually lives in the NQP repository, in the nqp_bigint.ops.
As for separate issues, no, the JVM stuff will be moving into this same repository soon anyway, since a vast majority of the code between the two is shared.
Should look into these for both Parrot and JVM backends:
The text was updated successfully, but these errors were encountered: