Python 语言中“1e-5”中的“e”是什么意思,这个符号的名称是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/40390129/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 23:29:20  来源:igfitidea点击:

What does "e" in "1e-5" in Python language mean and what is the name of this notation?

python

提问by Code Farmer

I notice that there is such an expression "1e-5" in Python(probably in other languages also)

我注意到 Python 中有这样一个表达式“1e-5”(可能在其他语言中也有)

  1. What is the name of this notation?

  2. what does it denote in math?

  3. What does 'e' mean? It's the first time I see a character helps to denote some value, are there other characters also help do so?

  4. Why should use this way instead of some other python math operation like pow() etc.

  1. 这个符号的名称是什么?

  2. 它在数学中代表什么?

  3. “e”是什么意思?这是我第一次看到一个字符有助于表示某些价值,是否还有其他字符也有助于这样做?

  4. 为什么要使用这种方式而不是其他一些 python 数学运算,如 pow() 等。

回答by Nayuki

It is scientific notation. It means 1 × 10?5. In other words, 0.00001.

它是科学记数法。这意味着 1 × 10 ?5。换句话说,0.00001。

回答by Alex Hall

10 ** -5, i.e. 10 to the power of negative 5, 1 divided by 10 to the power of 5, or 0.00001.

10 ** -5,即 10 的负 5 次方,1 除以 10 的 5 次方,即 0.00001。

回答by Francisco Couzo

It means 10 to the power of -5 times 1

这意味着 10 的 -5 乘以 1 的次方