Post History
C (gcc), 32 bytes f(a,b){return a>0?f(b,a-b)+1:0;} Try it online!
Answer
#1: Initial revision
# [C (gcc)], 32 bytes <!-- language-all: lang-c --> f(a,b){return a>0?f(b,a-b)+1:0;} [Try it online!][TIO-ki8uq6nw] [C (gcc)]: https://gcc.gnu.org/ [TIO-ki8uq6nw]: https://tio.run/##VY7LTsMwEEX3/oqrokqOGCM7SdWWQPgRNk7igKXgosRhU/Xbgx@LgmR55DN3zrgXH32/bSPX1BXX2fh1dtCtfBt5R1p0xaN6ls1te7Cun9bB4GXxg708fbaM/VzsAG8Wz63z0IRYulwm4wp2ZUiP2Szr5PGKvKYJ@HsOjZHv9gPCEW28@X4o3t2Ooipo8hQlVcNujEXVl7aOZ3ParEpJAI6KcEjiTKWKtC4J1Z0eZMzW5zOhvtPqdIxZqH9ZoCIIVZ4I6g8VZcqGnkx/2n4B "C (gcc) – Try It Online"