数字 1e5 是什么意思? [英] What is the meaning of number 1e5?
本文介绍了数字 1e5 是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在一些代码中看到人们定义一个变量并分配像 1e-8 或 1e5 这样的值.
I have seen in some codes that people define a variable and assign values like 1e-8 or 1e5.
例如
const int MAXN = 1e5 + 123;
这些数字是多少?我在网上找不到任何东西...
What are these numbers? I couldn't find any thing on the web...
推荐答案
1e5
是一个使用 表示的数字科学记数法 表示 10 的 5 次方(e 表示指数")
1e5
is a number expressed using scientific notation and it means 10 to the 5th power (the e meaning 'exponent')
所以 1e5
等于 100000
,这两个符号可以互换意思相同.
so 1e5
is equal to 100000
, both notations are interchangeably meaning the same.
这篇关于数字 1e5 是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文