M_PI for cosf and sinf files

This commit is contained in:
Derek Hensley 2024-05-21 18:15:12 -07:00
parent b4527cc5c7
commit 67a30021b3
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ static const du P[] = {
{ 0.000002605780637968037 },
};
static const du rpi = { 1 / 3.14159265358979323846 }; // 1/F_PI, "reciprocal of pi"
static const du rpi = { 1 / 3.14159265358979323846 }; // 1/M_PI, "reciprocal of pi"
// pihi + pilo is the closest double to pi, this representation allows more precise calculations since pi itself is not
// an exact float

View File

@ -14,7 +14,7 @@ static const du P[] = {
{ 0.000002605780637968037 },
};
static const du rpi = { 1 / 3.14159265358979323846 }; // 1/F_PI, "reciprocal of pi"
static const du rpi = { 1 / 3.14159265358979323846 }; // 1/M_PI, "reciprocal of pi"
// pihi + pilo is the closest double to pi, this representation allows more precise calculations since pi itself is not
// an exact float