CalcBits 4+

Learn how doubles work

Geoffrey Lovelace

Designed for iPhone

    • $0.99

iPhone Screenshots

Description

CalcBits is a calculator that helps you learn how floating point math works.

Enter and manipulate numbers like you would with any calculator. As you go, CalcBits shows you how each number is stored in memory, as 64 binary bits. And because each calculation is done using double-precision floating-point arithmetic, you can see how the same calculation would work (including rounding) in your own code.

• Perform double-precision floating-point calculations, seeing the result and its binary and hexadecimal representations in memory.
• See how the 64 bits are divided up into 1 sign bit (shown in yellow), 11 exponent bits (shown in magenta), and 52 fraction bits (shown in cyan).
• Divide by zero or take the square root of a negative number to see how NaN (not a number) and inf (infinity) are represented.
• Press the shift (up arrow) button to reveal the functions you would expect on a scientific calculator, such as trigonometric and hyperbolic trigonometric functions, and built-in constants for π and e.
• Use the copy button to copy the current value or its binary or hexadecimal representation. Paste numbers copied from inside the app or from another program.
• You can even paste binary or hexadecimal double-precision representations copied from another app, as long as they begin with 0x (hex) or 0b (binary).
• Rotate into landscape mode for a larger, read-only view of a number's binary and hexadecimal representations.

App Privacy

The developer, Geoffrey Lovelace, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Not Collected

The developer does not collect any data from this app.

Privacy practices may vary, for example, based on the features you use or your age. Learn More

Supports

  • Family Sharing

    Up to six family members can use this app with Family Sharing enabled.