---
title: "Discussion on \"Arithmetic Right Shift vs Logical Right Shift in Java, Rust, C++, Python\" | Hashnode"
description: "Discussion on \"Arithmetic Right Shift vs Logical Right Shift in Java, Rust, C++, Python\". Certainly. Here's the explanation in English:\n>> and >>> are bitwise shift operators, where >> is an arithmetic right shift, and >>> is a logical right shift. The main distinction between the two lies in how they handle negative numbers.\n\nArithmetic ..."
url: "https://hashnode.com/posts/arithmetic-right-shift-vs-logical-right-shift-in-java-rust-c-python/64e20f580a5c3953474a6bfc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Arithmetic Right Shift vs Logical Right Shift in Java, Rust, C++, Python](https://retriever.hashnode.dev/arithmetic-right-shift-vs-logical-right-shift-in-java-rust-c-python?utm_source=hashnode&utm_medium=feed)

Certainly. Here's the explanation in English: >> and >>> are bitwise shift operators, where >> is an arithmetic right shift, and >>> is a logical right shift. The main distinction between the two lies in how they handle negative numbers. Arithmetic ...

Aug 20, 2023 · 2 min read · retriever.hashnode.dev  
Read the article

-   [#bitwise](https://hashnode.com/tag/bitwise)

## Written by

[Retriever](https://hashnode.com/@Retriever)

@Retriever

  
[View profile](https://hashnode.com/@Retriever)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
