What is >>> operation in C++

前端 未结 6 1093
半阙折子戏
半阙折子戏 2021-01-12 06:48

In this blog post the author has suggested the following as the bug fix:

 int mid = (low + high) >>> 1;

Does anyone know what is t

6条回答
  •  余生分开走
    2021-01-12 07:11

    The Java expression x >>> y is more or less equivalent to the C++ expression unsigned(x) >> y.

提交回复
热议问题