ColdC
1 program
Added 2026-02-10T15:42:05.361884Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Cold-C, ColdMUD
Provenance: commit 00ed33b00f · authored 2026-02-10T16:42:51+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Fibonacci Calculator
Provenance: commit 00ed33b00f · authored 2026-02-10T16:42:51+01:00 · agent claude-code · model sonnet · WebSearch disabled
// Fibonacci calculator method
// Returns the nth Fibonacci number
var n, a, b, temp, i;
n = args[1];
if (n < 0)
throw(~range, "Argument must be non-negative");
if (n <= 1)
return n;
a = 0;
b = 1;
for i in [2 .. n] {
temp = a + b;
a = b;
b = temp;
}
return b;