在Swift编程语言官方文档中,它说
Double represents a 64-bit floating-point number.
Float represents a 32-bit floating-point number.链接:https://docs.swift.org/swift-book/LanguageGuide/TheBasics.html#ID321
那么,为什么会有Float64?他们之间有什么区别?或者他们是一样的?
发布于 2019-05-10 04:11:05
进入Float64的定义
/// A 64-bit floating point type.
public typealias Float64 = Double
/// A 32-bit floating point type.
public typealias Float32 = Floathttps://stackoverflow.com/questions/56070458
复制相似问题