Why is this an undefined behavior?

前端 未结 0 1356
眼角桃花
眼角桃花 2021-02-11 11:54

My answer to this question was this function:

inline bool divisible15(unsigned int x) 
{
    //286331153 = (2^32 - 1) / 15
    //4008636143 = (2^32) - 286331153
         


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