import math


def to_deg_min_sec(DecDegrees):
    """
    Converts from decimal (binary float) degrees to:
      Degrees, Minutes, Seconds
    """
    degrees, remainder = divmod(round(abs(DecDegrees), 9), 1)
    minutes, remainder = divmod(round(remainder * 60, 9), 1)

    # float to preserve -0.0
    return math.copysign(degrees, DecDegrees), minutes, remainder * 60