mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-05 01:19:06 -04:00
M_PI for cosf and sinf files
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user