diff --git a/src/libultra/gu/cosf.c b/src/libultra/gu/cosf.c index c911b55cb6..588a46a2cd 100644 --- a/src/libultra/gu/cosf.c +++ b/src/libultra/gu/cosf.c @@ -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 diff --git a/src/libultra/gu/sinf.c b/src/libultra/gu/sinf.c index 454a648caf..d3dfcc4524 100644 --- a/src/libultra/gu/sinf.c +++ b/src/libultra/gu/sinf.c @@ -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