0
0

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 3 years have passed since last update.

浮動小数点表記法(1.2e-5,1.2e+5)の扱い方

Last updated at Posted at 2020-12-11

浮動小数点表記法を使用するためメモ。

小数点を左に5回シフト
C/C++表記
1.2e-5
意味
1.2*10^(-5)
値
0.000012
小数点を右に5回シフト
C/C++表記
1.2e+5
意味
1.2*10^5
値
120000
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?