CalcBits

Learn how doubles work

Only for iPhone

$0.99 · Designed for iPhone

iPhone

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.

  • This app hasn’t received enough ratings or reviews to display an overview.

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

    The developer has not yet indicated which accessibility features this app supports. Learn More

    • Seller
      • Geoffrey Lovelace
    • Size
      • 609.3 KB
    • Category
      • Developer Tools
    • Compatibility
      Requires iOS 17.0 or later.
      • iPhone
        Requires iOS 17.0 or later.
      • Mac
        Requires macOS 14.0 or later and a Mac with Apple M1 chip or later.
      • Apple Vision
        Requires visionOS 1.0 or later.
    • Languages
      • English
    • Age Rating
      4+
    • Copyright
      • © 2024 Geoffrey Lovelace