summaryrefslogtreecommitdiff
path: root/tests/02unit_functions/cbrt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/02unit_functions/cbrt')
-rw-r--r--tests/02unit_functions/cbrt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/02unit_functions/cbrt b/tests/02unit_functions/cbrt
new file mode 100644
index 0000000..1d498c8
--- /dev/null
+++ b/tests/02unit_functions/cbrt
@@ -0,0 +1,5 @@
+T=d
+V=x
+R=-50000, 50000, 1000
+F=cbrt(x)
+C=x<0 ? -exp(log(-x) / 3) : (x>0 ? exp(log(x) / 3) : 0)