summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/complex/complex.scn
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/complex/complex.scn')
-rw-r--r--testsuites/libtests/complex/complex.scn46
1 files changed, 46 insertions, 0 deletions
diff --git a/testsuites/libtests/complex/complex.scn b/testsuites/libtests/complex/complex.scn
new file mode 100644
index 0000000000..f19dee3d3f
--- /dev/null
+++ b/testsuites/libtests/complex/complex.scn
@@ -0,0 +1,46 @@
+*** COMPLEX MATH TEST ***
+cabs : 1.414214
+cacos : 0.904557 -1.061275i
+cacosh : 1.061275 0.904557i
+carg : 0.785398
+casin : 0.666239 1.061275i
+casinh : 1.061275 0.666239i
+catan : 1.017222 0.402359i
+catanh : 0.402359 1.017222i
+ccos : 0.833730 -0.988898i
+ccosh : 0.833730 0.988898i
+cexp : 1.468694 2.287355i
+cimag : 1.000000
+clog : 0.346574 0.785398i
+conj : 1.000000 -1.000000i
+cpow : 2.807879 1.317865i
+cproj : 1.000000 1.000000i
+creal : 1.000000
+csin : 1.298458 0.634964i
+csinh : 0.634964 1.298458i
+csqrt : 1.098684 0.455090i
+ctan : 0.271753 1.083923i
+ctanh : 1.083923 0.271753i
+cabsf : 1.414214
+cacosf : 0.904557 -1.061275i
+cacoshf: 1.061275 0.904557i
+cargf : 0.785398
+casinf : 0.666239 1.061275i
+casinhf: 1.061275 0.666239i
+catanf : 1.017222 0.402359i
+catanhf: 0.402359 1.017222i
+ccosf : 0.833730 -0.988898i
+ccoshf : 0.833730 0.988898i
+cexpf : 1.468694 2.287355i
+cimagf : 1.000000
+clogf : 0.346574 0.785398i
+conjf : 1.000000 -1.000000i
+cpowf : 2.807879 1.317865i
+cprojf : 1.000000 1.000000i
+crealf : 1.000000
+csinf : 1.298458 0.634964i
+csinhf : 0.634964 1.298458i
+csqrtf : 1.098684 0.455090i
+ctanf : 0.271753 1.083923i
+ctanhf : 1.083923 0.271753i
+*** END OF COMPLEX MATH TEST ***