BinaryFloatingPoint

protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint
  • Mechanica

    Creates a string representing the given value in the binary base.

    Example:

    Float(-5.625).binaryString -> "11000000101101000000000000000000
    

    Declaration

    Swift

    public var binaryString: String { get }