import math


def my_log(num):
  """
    Floors the log function

    :param num: the number
    :return: log(num) floored to a very low number
    """

  if num == 0.0:
    return -9999999999
  return math.log(num)