From 67b3ba556dbaa52e0326e3e37a57627fc9dab328 Mon Sep 17 00:00:00 2001 From: Lucas Christesen Ahler <201907296@post.au.dk> Date: Wed, 23 Jun 2021 12:42:58 +0200 Subject: [PATCH] Added output to math exercise --- exercises/math/out.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 exercises/math/out.txt diff --git a/exercises/math/out.txt b/exercises/math/out.txt new file mode 100644 index 0000000..4f5a2de --- /dev/null +++ b/exercises/math/out.txt @@ -0,0 +1,11 @@ +Gamma function of 5 = 24 +Bessel function of 0.5 = 0.242268 +Square root of -2 = 0 + 1.41421i +e to the power i*pi = -1 + 2.89542e-16i +e to the power i = 0.540302 + 0.841471i +i to the power e = -0.42822 + -0.903675i +i to the power i = 0.20788 + 0i +The precision of different variable types: +Float: 0.1111111119389533996582031 +Double: 0.1111111111111111049432054 +Long double: 0.1111111111111111111096053 -- GitLab