随笔分类 - 计算机面试
摘要:The difference between undergraudate and postgraduate? The undergraduate education provides foundational knowledge and skills in a broad discipline. T
阅读全文
摘要:c++中如何判断一个浮点数是否为0? 判断是否在一个误差范围内: cpp const float eps = 1e-6; if(abs(x) < eps) { // x is nearly zero } 舍入到整数再判断: cpp float x = 0.00001; if(round(x) ==
阅读全文