CodingInterviews
CodingInterviews copied to clipboard
011-熟知的整数次方,将double base改为int丢失精度
倒数第二个代码段,形参base赋值给int类型的temp,可能导致原base精度丢失。