Page MenuHomeFeedback Tracker

Enforce Script should support the 0b prefix
New, NormalPublic

Description

Enforce Script already has the 0x prefix, which lets you write hexadecimal numerals.
For bitwise operations, it would be useful to also have the 0b prefix, allowing you to write numbers directly in binary.
For example, to get an integers 3 least significant bits, you currently have to write n & 7, when n & 0b111 would be much more intuitive.

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

TilW created this task.Tue, Jun 17, 6:34 PM