Home » Questions » Computers [ Ask a new question ]

GNU Octave: How to change base from DEC to BIN?

GNU Octave: How to change base from DEC to BIN?

I need to do many binary calculations of the form:

Asked by: Guest | Views: 304
Total answers/comments: 1
Guest [Entry]

"The long answer is, it's possible, but you'll have to a) program it yourself, or b) get someone to program it for you. This method of writing fractional base-2 just isn't used in computing.

Programming a function to convert this representation of fractional binary numbers into standard IEEE754 double-precision floating point binary isn't impossible, so if it's an absolute must-have, it is doable."