1e-12是什么意思? [英] What does 1e-12 mean?

查看:1725
本文介绍了1e-12是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我正在研究的Vincenty椭圆形公式中,有一个表达式: 1e-12



如何将其转换为代码,有些人说它相当于10次幂(-12)或是 e = 2.71828182

解决方案

它是科学数字的C / C ++表示法,可以读作1 * 10 -12 。只需在C ++中使用它:

  double  f = 1e-  12  


In Vincenty ellipsoidal formula I'm working on, there is a an expression: 1e-12

How do I convert that into code, Some source say it is equivalent to 10 power(-12) or is it e = 2.71828182

解决方案

It is the C/C++ notation for scientific numbers and can be read as 1 * 10-12. Just use it this way in C++:

double f = 1e-12;


这篇关于1e-12是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆