Track min and max in TDigest, do not allow estimates to go out of bounds
Summary: As title. We were special casing q == 1 or q == 0 improperly before. This led to some strange results where p100 < p99.9. Track min and max (useful anyway), and use those for boundaries. Reviewed By: anakryiko Differential Revision: D7800645 fbshipit-source-id: 5fa3e1d0d286d4b31442196ba74b072030706786
Showing
Please register or sign in to comment