ModulusMode

public enum ModulusMode

Undocumented

  • The remainder is always positive.

    Declaration

    Swift

    case euclidean
  • The remainder always has the same sign as the divisor.

    Declaration

    Swift

    case flooring
  • The remainder always has the same sign as the dividend.

    Declaration

    Swift

    case truncating