fix for empty arrays

fix documentation

also add a binary search for the supremum

(0) -300 -100 -30 -10 -3 tip

mercurial