Top "Binary" questions

Binary, the base-2 numeral system, represents numbers using two symbols: 0 and 1. For compiled computer programs, use the "executable" tag instead.

Need help in adding binary numbers in python

If I have 2 numbers in binary form as a string, and I want to add them I will do it …

python binary addition
Binary buffer in Python

In Python you can use StringIO for a file-like buffer for character data. Memory-mapped file basically does similar thing for …

python binary io buffer
How do I add an attachment to an email using System.Net.Mail?

I have an excel document represented as a byte[] and I'm wanting to send it as an attachment in an …

c# email binary attachment system.net.mail
Grabbing n bits from a byte

I'm having a little trouble grabbing n bits from a byte. I have an unsigned integer. Let's say our number …

c++ c binary hex bits
Non-restoring division algorithm

Does anyone know the steps for dividing unsigned binary integers using non-restoring division? It's hard to find any good sources …

algorithm binary division bits addition
Writing integer to binary file using C++?

I have a very simple question, which happens to be hard for me since this is the first time I …

c++ binary integer fstream
Convert binary string into integer

I would like to convert a binary number writen in a String into its integer value. For example: string input = "0101"; …

c# .net string binary
Converting very simple ARM instructions to binary/hex

I've been trying to use this page as well as various other guides to figure out how to express very …

assembly binary hex arm opcodes
Converting a factor with 2 levels to binary values 0/1 in R

I have a variable, called gender, with binary categorical values "female"/"male". I want to change its type to integers 0/1 …

r binary r-factor
Is there any graphical Binary Diff tool for Mac OS X?

Are there any Binary Diff tools for Mac OS X with a GUI? There are a gazillion text-based diff tools, …

macos binary diff