send link to app

Binary Float Converter app for iPhone and iPad


4.4 ( 2944 ratings )
Utilities Education
Developer: Roman Volinsky
2.99 USD
Current version: 1.6, last update: 6 months ago
First release : 07 Feb 2021
App size: 706 Kb

Binary Float Converter is a tool for conversion of numeric digital representations. It converts decimal, hexadecimal, signed binary Integer (32bit), Float binary (32bit) and Double binary (64bit) two’s complement representations.
The main screen provides input and output of the the five numeric representations. Decimal field accepts integer, floating point and scientific representations. Each field has an associated run button, that converts the input to all other representations.

Hexadecimal value is calculated if the input value is within 64-bit Integer range of values.

Input in the form of hexadecimal exponential notation is supported. ( 1.Ep3 = 15.0 )

The input of binary integer field is fitted to 32 bit arithmetically, so the first digit of input is copied to the left side. If value starts from 0 – the number is positive and if from 1 is negative:

101 is converted to 1111 1111 1111 1111 1111 1111 1111 1101 = -3

0101 is converted to 0000 0000 0000 0000 0000 0000 0000 0101 = 5

Binary integer value is not shown if the value is not integer, there is an overflow. Otherwise, it can be presented if the difference between actual decimal and closest integer is below the recognition threshold for 32-bit system.

Application complies with IEEE 754. It distinguishes between sign, exponential and fractional parts of Float (32-bit) and Double (64-bit) binary representations.

Float (32-bit) comprises of 1 sign bit, 8-bit of exponent and 23-bit of significand.

Double (64-bit) comprises of 1 sign bit, 11-bit of exponent and 52-bit of significand.

If length of input is shorter than required number of bits, then zeroes are added to the right side of a number.

IEEE 754 notes:

Float and Double special values:

exp = 00…0, frac = 00…0 => Zero

exp = 11…1, frac = 00…0 => Infinity

exp = 11…1, frac != 00…0 => NaN