12
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

浮動小数点数のビット数と有効桁数

Last updated at Posted at 2017-09-05

はじめに

浮動小数点数のビット数と有効桁数の一覧を記載します。

対応表

10進数有効桁数とCの対応表を次に示します。

type bit length (A) (B)
float 32 24 7.22
double 64 53 15.95
long double 80 64 19.26

(A) : 有効桁のビット長
(B) : 10進数有効桁数 = $log_{10} 2^{(A)}$

12
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?