Add a math.cbrt instruction and lowering to libm.
There's currently no way to get accurate cube roots in the math dialect. powf(x, 1/3.0) is too inaccurate in some cases. Reviewed By: akuegel Differential Revision: https://reviews.llvm.org/D140842
parent
367e618f
Please register or sign in to comment