summaryrefslogtreecommitdiff
path: root/testData.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2022-09-29 16:42:58 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2022-09-29 16:42:58 -0400
commiteae5d5b8d55f5da69eea990e68497dbc0e74c9f3 (patch)
tree4dc2346c652db653320e27054a69c3aa8aa790af /testData.h
parente8364e95ee1b38e49af29a2aa1338b3d978411f0 (diff)
Fix sine and cosine by increasing presicion
Diffstat (limited to 'testData.h')
-rw-r--r--testData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/testData.h b/testData.h
index 02b23c5..ba7667f 100644
--- a/testData.h
+++ b/testData.h
@@ -40,7 +40,7 @@ const char *wrd[] = {
* - Negative values
* - Values surpassing 2π
*/
-const float piValues[20][3] = {
+const double piValues[20][3] = {
// test-value sin cos
{ 0.000000, 0.000000, 1.000000}, // 0°
{ 0.523599, 0.500000, 0.866025}, // 30°