psquare This is a C implementation of p2 algo, which proposes a heuristic algorithm for dynamic calculation of the median and other percentiles.