考虑以下代码段,它试图实现哪种功能?
def fun1(a, b): if a < b: a, b = b, a def fun2(x, y): while y: x, y = y, x % y return x return a * b / fun1(a, b)