@staticmethod
def reduce_deg(deg):
    """Takes a degree value in decimal format and converts it to a float
        value in the +/-[0:360) range.

        :param deg: Input degree angle in decimal format.
        :type deg: int, float, :py:class:`Angle`

        :returns: Float value of the angle in the +/-[0:360) range.
        :rtype: float

        >>> a = 386.3
        >>> b = Angle.reduce_deg(a)
        >>> print(round(b, 1))
        26.3
        """
    if abs(deg) >= 360.0:
        sign = 1.0 if deg >= 0 else -1.0
        frac = abs(deg) % 1
        deg = int(abs(deg)) % 360
        deg = sign * (deg + frac)
    return float(deg)
