Faulty behaviour of sqrt() function in c++

前端 未结 0 1283
庸人自扰
庸人自扰 2020-11-29 02:01

The (long long)sqrt()(I type casted to long long) function when input with 7999999990122057121 gives me 2828427123 but the answer should be 2828427122 because the actual ans

相关标签:
回答
  • 消灭零回复
提交回复
热议问题