add Double
Add a double to the array to be matched. Because floating-point numbers are affected by precision, so abs(value - realValue) < 1e-6 will match successfully.
向待匹配数组中添加一个已知的双精度浮点型。由于浮点数受到精度影响,所以 abs(value - realValue) < 1e-6 时会匹配成功。
Return
Parameters
value
double / 双精度浮点型