dimecres, 25 de juliol del 2012

Floating Point to Fixed Point Online Converter

The other day I was in need of a tool to represent a fractional number (floating point) into its binary representation in fixed point. Moreover I wanted the flexibility to decide how many bits the number would be represented with, and where the point was located.

So I searched online, but for my dispair there were few online tools that helped me. So I created this Javascript utility to help me (and maybe others). By now it only works with positive numbers.



Floating Point Number:
Integer Part Bit Width:
Fractional Part Bit Width:

Result:

Cap comentari:

Publica un comentari a l'entrada