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
{{ message }}
Repository navigation
[Feature Request]: Add math.cbrt and math.exp2 #1260
math.cbrt and math.exp2, both added in Python 3.11, do not exist in GraalPy's math module, so any call raises AttributeError. Seen on master a3009f9 (Python 3.13.14) on macOS ARM64 and on 25.0.2 (Python 3.12.8) on Linux ARM64.
A CbrtNode returning Math.cbrt(value) and an Exp2Node returning Math.pow(2.0, value) with the same checkMathRangeError as ExpNode (#L258-L274) would cover both. testCbrt and testExp2 are already in the bundled test_math.py and only need enabling in unittest_tags/test_math.txt.
Activity