ヘルプ センターヘルプ センター
fi
組み込み double 値への fi オブジェクトの格納整数値の変換
d = storedIntegerToDouble(a)
例
d = storedIntegerToDouble(a) は fi オブジェクト a の格納整数値を倍精度浮動小数点値 d に変換します。
d
a
入力語長が 52 ビットを超える場合、量子化誤差が発生する場合があります。入力 fi オブジェクトの格納整数値が組み込み double 値によって表現できる範囲外の場合、Inf が返されます。
Inf
すべて折りたたむ
fi の格納整数値を倍精度値に変換します。関数 class を使用して、格納整数値が倍精度値であることを検証します。
class
a = fi(pi,1,16,12)
a = 3.1416 DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 16 FractionLength: 12
d = 12868
dtype = class(d)
dtype = 'double'
変換する値。fi オブジェクトとして指定します。
データ型: fi 複素数のサポート: あり
R2012a で導入
storedInteger | fi | class
storedInteger
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office