Type Property 型プロパティ

significandBitCount

The available number of fractional significand bits. 利用可能な小数の仮数ビットの数。

Declaration 宣言

static var significandBitCount: Int { get }

Discussion 解説

For fixed-width floating-point types, this is the actual number of fractional significand bits. 固定長浮動小数点型に対して、これは小数部仮数ビットの実際の数です。

For extensible floating-point types, significandBitCount should be the maximum allowed significand width (without counting any leading integral bit of the significand). If there is no upper limit, then significandBitCount should be Int.max. 拡張可能な浮動小数点型に対して、significandBitCountは許される最大仮数幅であるべきです(全く仮数の先頭整数ビットを数えることなく)。上限がないならば、そのときsignificandBitCountInt.maxです。

Note that Float80.significandBitCount is 63, even though 64 bits are used to store the significand in the memory representation of a Float80 (unlike other floating-point types, Float80 explicitly stores the leading integral significand bit, but the BinaryFloatingPoint APIs provide an abstraction so that users don’t need to be aware of this detail). Float80.significandBitCountは63であることに注意してください、64ビットが使用されて仮数をFloat80メモリ表現に格納するとしてもです(他の浮動小数点型と違い、Float80は明示的に先頭整数仮数ビットを格納します、しかしBinaryFloatingPointAPIはある抽象化を提供します、それでユーザはこの詳細に通じている必要はありません)。

See Also 参照

Working with Binary Representation バイナリ表現を扱う