Why is this an undefined behavior?

前端 未结 0 1758
北恋
北恋 2021-02-11 11:51

My answer to this question was this function:

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


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