-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed as duplicate of#88523
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
import math
print(math.curt(27)) # Output: 3.0
print(math.curt(64)) # Output: 4.0
Python’s math module has math.sqrt() for square root, but no direct math.curt() for cube root. Adding math.curt(x) would make cube root calculations easier and more intuitive. Currently, users must use x ** (1/3), which can lead to precision issues. So, it is requested to add this feature in the upcoming release of Python.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement