import math


def get_evaldiff(evalue1, evalue2):
    """Return absolute value of the order of magnitude evalue difference for
    two given E-values.  """
    return round(abs(math.log(float(evalue1),10) - math.log(float(evalue2),10)))