fix for empty arrays

fix documentation

also add a binary search for the supremum

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

mercurial