hist: cmp compares integrals