Initializer (Default implementation)swift 6.0.1Swift

    init(exactly:)

    Creates a new value, if the given integer can be represented exactly.

    init?<Source>(exactly value: Source) where Source : BinaryInteger

    Parameters

    value

    The integer to convert to a floating-point value.

    If the given integer cannot be represented exactly, the result is nil.

    Implements

    Other members in extension

    Type members