1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-01-13 18:52:03 +05:30

extol.c: clear 4 rightmost bits before the loop

This commit is contained in:
パチュリー・ノーレッジ 2024-03-09 11:46:01 +03:00
parent 1060bfbe45
commit 988389a6ea
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -34,7 +34,7 @@ extol (FILE *f)
FILE *fs = fopen ("extol.txt", "a+");
fseek (fs, 0L, SEEK_END);
result = extol (fs);
for (result <<= 4; (result & 15) != 15; result++)
for (result <<= 4, result &= ~15; (result & 15) != 15; result++)
fputc ('=', fs);
result >>= 4;
fprintf (fs, "\n");