The compl (num) function