Math & ScienceLong division for binary numbers

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
avoyance
Posts: 13
Joined: Sun Feb 13, 2011 1:53 am

Long division for binary numbers

Post by avoyance »

The longdiv.tex writen by Donald Arseneau in 1994 is very interesting.
But it seems to work for decimal numbers only?
I want to do for binary numbers:

\longdiv{10011010000}{1101}

The program told me "number too big". The numbers seem to be treated as decimals. I searched for longdiv.tex there seems to have no where sending out this message. Anyone knows how can I do it for binary numbers?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply