Soulver 3 for Mac, iPad & iPhone
  • Frequently asked questions
  • Changelog
  • Request a new feature
  • What's new in Soulver 3?
  • Features
    • Getting Started
    • Totals & Subtotals
    • Line References
    • Variables
    • Formatting
      • Number Formats
      • Text Stying
      • Answer Formatting
    • Sheets & Files
      • Sheets
      • Sheetbooks
      • Soulver Files (.slvr)
    • Live Data
      • Weather
      • Stock Prices
      • Wolfram|Alpha (knowledge assistant)
    • Exporting
      • PDF & Printing
      • Soulver Studio
    • Integrations
      • Alfred & Raycast
      • macOS Services
      • URL Schemes
      • Terminal (CLI)
    • Tips & Tricks
      • Mac
      • iPad & iPhone
  • Syntax Reference
    • General
      • Operators
      • Rounding
      • Averages & Median
      • Logarithms & Roots
      • Trigonometry & Constants
      • Conditionals
      • Miscellaneous
    • Percentages
    • Units & Conversions
      • Converting Units
      • Currencies
      • Rates
      • Cooking Calculations
      • Unit Reference
      • Currency Reference
    • Dates
      • Calendar Calculations
      • Workdays & Weekdays
      • Timestamps & ISO8601
    • Time
      • Time Zone Conversions
      • Time Formats
      • Clock Time Calculations
      • Video Timecode & Frame Rates
    • Money & Finance
      • Compound Interest & Investments
      • Mortgage/Loan Repayments
  • Bases & Bitwise
  • Headings & Comments
  • Large Number Symbols
  • 🧪Experimental
    • Soulver X Series on GitHub
Powered by GitBook
On this page
  • Decimal, Hex, Binary & Octal
  • Bitwise Operators

Was this helpful?

Bases & Bitwise

Decimal, Hex, Binary & Octal

Soulver supports base 2 (binary), octal (base 8) and hexadecimal (base 16), with various formats supported to convert between them

# Converters
256 as hex                           | 0x100
99 in binary                         | 0b1100011
0x9F31 to decimal                    | 40,753
0b1000101 to octal                   | 0o105

# Phrases
0b101101 as base 8                   | 0o55
0x2D as base 2                       | 0b101101

# Python-style functions
int(0o55)                            | 45
hex(99)                              | 0x63
bin(0x73)                            | 0b1110011

Bitwise Operators

Operator
Name

& or AND

Bitwise AND

| or OR

Bitwise OR

xor or XOR

Bitwise XOR

<<

Bitwise left shift

>>

Bitwise right shift

Last updated 1 month ago

Was this helpful?