This pr adds the power function 2.0d ** 2.0d to the Float32 and Float64 libraries, this uses the same algorithm we use for Number.pow without the extra overhead for the different number types, a future improvement we could make is having a separate algorithm for float32 for better performance.
This pr adds the
power
function2.0d ** 2.0d
to theFloat32
andFloat64
libraries, this uses the same algorithm we use forNumber.pow
without the extra overhead for the different number types, a future improvement we could make is having a separate algorithm forfloat32
for better performance.