Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用基于模型的测试工具(Conformiq)。它生成值为“0”的测试用例,但是当我在java中导出这些测试用例时,写入的值是“0E-20”这是什么意思?什么是“0E-20”?
代码有点像这样:
new CQRecordNumber( /** value */ (float)0E-20));
根据this Wiki page,xEy表示x * 10^y,在您的情况下,是0 * 10^(-20)
xEy
x * 10^y
0 * 10^(-20)