import math


def conv_float2negexp(val: float) -> int:
    """Least restrictive negative exponent of base 10 that achieves the floating point convergence criterium `val`."""
    return -1 * int(math.floor(math.log(val, 10)))