#=======================================
# Definitions
#=======================================
# TODO(Numbers) add `cbrt` built-in function
# the goal would be to have a function that returns the cubic root of a number
# potential use: https://rosettacode.org/wiki/Cubic_special_primes
# labels: library, enhancement, new feature
proc defineLibrary*() =
#----------------------------
# Functions
#----------------------------
builtin "abs",
alias = unaliased,
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
[Numbers] add
cbrt
built-in function the goal would be to have a function that returns the cubic root of a number potential use: https://rosettacode.org/wiki/Cubic_special_primeshttps://github.com/arturo-lang/arturo/blob/411617a1906063cf0adfd3ac06804dc4b29403a0/src/library/Numbers.nim#L56
ac3e031455ddc42abff04bbcc96868dd8af0625c