Click here to Skip to main content
13,290,735 members (73,878 online)
Click here to Skip to main content

Tagged as


Posted 7 Nov 2012

Convert double value in Binary

, 7 Nov 2012
OK, lets take it apart and see what is wrong:I'll modify the code to show the bytes of the double and all 64 bit masks.public void DoubleinBinaereundHexa(double wert) { int bitCount = sizeof(double) * 8; char[] result = new char[bitCount]; //long lgValue =...



Compare Revision Minor Date Status Editor
2 - publicly available No 7-Nov-12 8:28 Available Alan N
Updates in content. 3 changes had been made.
1 No 7-Nov-12 8:27 Available Alan N


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Alan N
United Kingdom United Kingdom
There were these two guys at work who programmed a product costing programme on the new Wang (10Meg Winchester). I looked at their spaghetti and thought uhh, what's going on there. That was while ago, as I see that the spiral bound Wang Professional Computer Series "Basic Language Guide" Third Edition, which I've just pulled off the bookshelf, was published in 1985.

Shortly after that "the corporation" upgraded to the heavenly Amstrad 1512's (20Meg). Paul and I cracked the password file and I was really keen on creating a key logger but decided that I wanted to keep my job instead.

Way before all of this my cousin had a computer and although I can't remember what make it was, it seems that his programming pinnacle was making the lights on it's front panel flash on and off. At the time I was more interested in Lego. Happy days.

Back to the Wang, if that not too rude a phrase, I remember that our IT professional programmed F1 to enter the mainframe password because no one knew what it was!

Most embarrassing computer moment... Having to admit that it was me who had typed del c:\*.*

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171207.1 | Last Updated 7 Nov 2012
Article Copyright 2012 by Alan N
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid