Fixed relative threshold: you consider 10% and 20% of the max for range of
corresponding dtype.