Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
TSQL 型 (MSSQL) の中で: 実数、浮動小数点数、10 進数。どのタイプがより高速な比較になりますか?
10 進数はハードウェア FPU 計算を使用しますか、それとも純粋にソフトウェアで実行されますか?
10 進数は FPU を使用できません。FPU でサポートされている標準の IEEE 浮動小数点数にマップされる float または real を使用すると、最高のパフォーマンスが得られます。
float = double 実数 = single
もちろん、シングルの方が速いです。