init<Source>(Source)
Creates a new value, rounded to the closest possible representation.
新しい値を作成します、最も近い可能な表現へ丸められます。
init(Int)
Creates a new value, rounded to the closest possible representation.
新しい値を作成します、最も近い可能な表現へ丸められます。
Availability
Technology
@frozen struct Double
init<Source>(Source)
init(Int)
init?<S>(S)
init<Source>(Source)
init(Double)
init(Float)
init(Float16)
init(Float80)
init(CGFloat)
init(sign: FloatingPointSign, exponent: Int, significand: Double)
init(signOf : Double, magnitudeOf : Double)
init<Source>(Source)
nil
if the value passed can't be represented without any loss of precision.
これらのイニシャライザは、渡された値が何ら精度の損失なしに表現できないならばnil
という結果になります。
init?<Source>(exactly: Source)
init?<Source>(exactly: Source)
init?<Source>(exactly: Source)
init?(exactly: Double)
init?(exactly: Float)
init?(exactly: Float16)
init?(exactly: Float80)
static func random(in: Range<Double>) -> Double
static func random<T>(in: Range<Double>, using: inout T) -> Double
static func random(in: ClosedRange<Double>) -> Double
static func random<T>(in: ClosedRange<Double>, using: inout T) -> Double
func addingProduct (Double, Double) -> Double
func addProduct (Double, Double)
func squareRoot () -> Double
func formSquareRoot ()
func remainder(dividingBy : Double) -> Double
func formRemainder (dividingBy : Double)
func truncatingRemainder (dividingBy : Double) -> Double
func formTruncatingRemainder (dividingBy : Double)
func negate()
func rounded() -> Double
func rounded(FloatingPointRoundingRule) -> Double
func round()
func round(FloatingPointRoundingRule)
func isEqual (to: Double) -> Bool
func isLess (than: Double) -> Bool
func isLessThanOrEqualTo (Double) -> Bool
func isTotallyOrdered (belowOrEqualTo : Double) -> Bool
static func minimum(Double, Double) -> Double
static func minimumMagnitude (Double, Double) -> Double
static func maximum(Double, Double) -> Double
static func maximumMagnitude (Double, Double) -> Double
var magnitude: Double
var sign: FloatingPointSign
typealias Double.Magnitude
var ulp: Double
var significand: Double
var exponent: Int
var nextUp : Double
var nextDown : Double
var binade: Double
static var pi: Double
static var infinity: Double
static var greatestFiniteMagnitude : Double
static var nan: Double
static var signalingNaN : Double
static var ulpOfOne : Double
static var leastNonzeroMagnitude : Double
static var leastNormalMagnitude : Double
static var zero: Double
var bitPattern : UInt64
var significandBitPattern : UInt64
var significandWidth : Int
var exponentBitPattern : UInt
static var significandBitCount : Int
static var exponentBitCount : Int
static var radix: Int
init(bitPattern : UInt64)
init(sign: FloatingPointSign, exponentBitPattern : UInt, significandBitPattern : UInt64)
init(nan: Double.RawSignificand, signaling: Bool)
typealias Double.Exponent
typealias Double.RawSignificand
typealias Double.RawExponent
var isZero : Bool
var isFinite : Bool
var isInfinite : Bool
var isNaN : Bool
var isSignalingNaN : Bool
var isNormal : Bool
var isSubnormal : Bool
var isCanonical : Bool
var floatingPointClass : FloatingPointClassification
func encode(to: Encoder)
init(from: Decoder)
static func ..< (Double, Double) -> Range<Double>
static func ... (Double, Double) -> ClosedRange<Double>
var description: String
var debugDescription : String
var customMirror : Mirror
Double
instance.
Double
インスタンスを反映するミラー。
func hash(into: inout Hasher)
init?(from: MLDataValue)
var dataValue : MLDataValue
static var dataValueType : MLDataValue.ValueType
init()
init(floatLiteral : Double)
init(integerLiteral : Int64)
init(integerLiteral : Double)
typealias Double.FloatLiteralType
typealias Double.IntegerLiteralType
func advanced(by: Double) -> Double
func distance(to: Double) -> Double
typealias Double.Stride
func write<Target>(to: inout Target)
var hashValue : Int
struct Double.SIMD2Storage
struct Double.SIMD4Storage
struct Double.SIMD8Storage
struct Double.SIMD16Storage
struct Double.SIMD32Storage
struct Double.SIMD64Storage
var customPlaygroundQuickLook : _PlaygroundQuickLook
Double
instance.
Double
インスタンスのためのあつらえのプレイグラウンド「クイックルック」。
init(NSNumber)
Deprecated
非推奨
AnimatableData
BinaryFloatingPoint
BindableData
CKRecordValueProtocol
CustomDebugStringConvertible
CustomReflectable
CustomStringConvertible
Decodable
Encodable
ExpressibleByIntegerLiteral
Hashable
LosslessStringConvertible
MLDataValueConvertible
MLShapedArrayScalar
SIMDScalar
Strideable
TextOutputStreamable
VectorArithmetic
vDSP_DiscreteFourierTransformable
vDSP_FloatingPointBiquadFilterable
vDSP_FloatingPointConvertable
vDSP_FloatingPointDiscreteFourierTransformable
vDSP_FloatingPointGeneratable
struct Int
struct String
struct Array
struct Dictionary