StructureSwift

    Float

    A single-precision, floating-point value type.

    @frozen struct Float

    Members

    Typealiases

    Differentiation

    Initializers

    Foundation

    Type Properties

    ArgumentParser

    Instance Properties

    RealModule

    • var reciprocal: Self?

      Implementations should be conservative with the reciprocal property; it is OK to return nil even in cases where a reciprocal could be represented. For this reason, a default implementation that simply always returns nil is correct, but conforming types should provide a better implementation if possible.

    • var reciprocal: Self?

      The (approximate) reciprocal (multiplicative inverse) of this number, if it is representable.

    ArgumentParser

    Type Methods

    RealModule

    Instance Methods

    Differentiation

    • func move(by: Self.TangentVector)

      Moves self by the given offset. In Riemannian geometry, this is equivalent to exponential map, which moves self on the geodesic surface by the given tangent vector.

    • func move(by: Float.TangentVector)

      Moves self by the given offset. In Riemannian geometry, this is equivalent to exponential map, which moves self on the geodesic surface by the given tangent vector.

    Type Operators

    RealModule

    Structures

    Removed Members

    Initializers

      Foundation

      Instance Properties