Skip to content

Commit 62142a0

Browse files
authored
Merge pull request #124 from Max042004/fix/typo
Clarify comment
2 parents 53b11ca + 32407a6 commit 62142a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void twin_sincos(twin_angle_t a, twin_fixed_t *sin, twin_fixed_t *cos)
7272
/* limit to [0..360) */
7373
a = a & (TWIN_ANGLE_360 - 1);
7474
int c = a > TWIN_ANGLE_90 && a < TWIN_ANGLE_270;
75-
/* special case for 90 degrees */
75+
/* special case for 90 and 270 degrees */
7676
if ((a & ~(TWIN_ANGLE_180)) == TWIN_ANGLE_90) {
7777
sin_val = TWIN_FIXED_ONE;
7878
cos_val = 0;

0 commit comments

Comments
 (0)