[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mcp version-geq
The current spec gives a version comparison algorithm of
function version-geq(v1, v2)
if v1.major >= v2.major and v1.minor >= v2.minor then
return TRUE
else
return FALSE
which means version-geq("3.2", "2.3") is false! Shouldn't the
comparison function be:
function version-geq(v1, v2)
if v1.major > v2.major then
return TRUE
else if vi.major = v2.major and v1.minor >= v2.minor then
return TRUE
else
return FALSE
John