diff options
| author | 2025-09-09 10:46:18 +0200 | |
|---|---|---|
| committer | 2025-09-09 10:46:18 +0200 | |
| commit | 3bac8a6bc4f04ed9d302896264809b191477e11b (patch) | |
| tree | 1d82dcf2f92d84ba214c1aa0466ab87c8ccadcba /test/fib.c | |
| parent | e043811980db560fc2507bb53b644e54c80527dc (diff) | |
fixes, delnops
Diffstat (limited to 'test/fib.c')
| -rw-r--r-- | test/fib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ unsigned fib(unsigned x) { unsigned r = 0, q = 1; - while (x-- > 1) { + for (; x > 1; --x) { unsigned s = r + q; r = q; q = s; |