Ask Your Question

Revision history [back]

Unexpected result in the evaluation of a function

I hope my question isn't stupid. Why does the following code result in 1 and not 3?

var('a b')
f(a, b) = gcd(a, b)
f(3, 6)