更新时间:2023-11-29 15:30:34
有关可能的边缘情况的详细概述,请参阅此 ***文章.
For a great overview of possible edge cases, see this Wikipedia article.
然后对于单元测试,请参阅验证浮点计算的陷阱.
Then for unit tests see The pitfalls of verifying floating-point computations.
如何编写单元测试以确保 C 科学计算中的数值准确性?