URLQueryNonConformingFloatDecodingStrategy

public enum URLQueryNonConformingFloatDecodingStrategy

The strategies for encoding nonconforming floating-point numbers, also known as IEEE 754 exceptional values.

  • The strategy that throws an error upon decoding an exceptional floating-point value.

    Declaration

    Swift

    case `throw`
  • The strategy that decodes exceptional floating-point values from a specified string representation.

    Declaration

    Swift

    case convertFromString(
        positiveInfinity: String,
        negativeInfinity: String,
        nan: String
    )