import math


def lognormal_stddev(m, stddev):
    """ compute std. of log x with mean and std. of x

    Args:
        m: mean of x
        stddev: standard deviation of x

    Returns: std. of log x

    """
    return math.sqrt(math.log((stddev * stddev) / (m * m) + 1))