In the last post, I gave an overview of how BigIntegers are stored and how addition and subtraction work. Now it's time to move up the hyperoperation sequence and and discuss multiplication. Simple Multiplication Probably the simplest way to think about multiplication is repeated addition. In other words, 4*5 = 5+5+5+5. Using that definition, it would be

#### Filtered by "Calculator"

# How BigIntegers Work, part 1: Storage, Addition, and Subtraction

The Chrome Scientific Calculator supports "approximate" and "exact" numbers. As a slightly simplified explanation, approximate numbers are represented by native JavaScript floating point numbers. Exact integers are represented by an arbitrary-precision BigInteger class (rational numbers have two BigIntegers for the numerator and denominator). So how do you do math on arbitrarily large integers in a language that only supports 64-bit

# Online Library for Scientific Calculator

A few days ago, I launched a service for the Scientific Calculator app that lets you save and load scripts online and share them with other people. Once you have an account (using your Google account naturally), you can see your own scripts and load them directly from the library dialog in the calculator. You can also view other people's

# Chrome Calculator

About a month ago I published a scientific calculator app to the Chrome Web Store (and I'm just now getting around to blogging about it). I was thinking about Chromebooks one day, and realized there was no way I could use one without a good scientific calculator. So I checked the Web Store, and didn't like any of the existing