complet.spad line 110 [edit on github]
Lifting of maps to ordered completions. Date Created: 4 Oct 1989
map(f, r) lifts f and applies it to r, assuming that f(plusInfinity) = plusInfinity and that f(minusInfinity) = minusInfinity.
map(f, r, p, m) lifts f and applies it to r, assuming that f(plusInfinity) = p and that f(minusInfinity) = m.