CodingInterviews icon indicating copy to clipboard operation
CodingInterviews copied to clipboard

011-熟知的整数次方,将double base改为int丢失精度

Open mingyunyuansu opened this issue 5 years ago • 0 comments

倒数第二个代码段,形参base赋值给int类型的temp,可能导致原base精度丢失。

mingyunyuansu avatar May 15 '20 22:05 mingyunyuansu