Good programmer's calculator?

This is a discussion on Good programmer's calculator? within the C Programming forums, part of the General Programming Boards category; Yes, I can Google a bazillion of these, but I just wanted to see if anyone had recommendations for a ...

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    30

    Good programmer's calculator?

    Yes, I can Google a bazillion of these, but I just wanted to see if anyone had recommendations for a good Win calculator that's geared specifically towards programmers to deftly handle bin, dec, hex conversions and manipulations.

    Any help is appreciated!

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    start -> run -> calc

    It can handle binary, dec, hex, and oct just fine

  3. #3
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Ditto

  4. #4
    Registered User
    Join Date
    Jul 2004
    Posts
    30
    Funny, good ol' Windows Calculator, huh? OK, thanks!

  5. #5
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    just make sure to put it into scientific mode

  6. #6
    Registered User
    Join Date
    Jul 2004
    Posts
    30
    One stupid question - I seem to be unable to enter binary numbers that contain more than one 0 in the msb's (like 00000001), although something like 10000000 is displayed as expected. Is there a way to force the calc to do what I want it to?

  7. #7
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    There is no need to enter any zeroes at all as MSD's. 00000001 is still 1. You'll end up with the same value in any number system, just do what you have to do to get it to fit nicely in memory, whether by using a bigger byte-sized variable or but adding 0's as MSBs. If you have a problem with two's-complement, than I don't think Calculator can do that, but it's much faster to just do it in your head.

  8. #8
    Registered User
    Join Date
    Jul 2004
    Posts
    30
    OK, I got you - I'm really just starting out with binary, so I just wanted to see those zeroes to help mark the bits in my head.

  9. #9
    Registered User
    Join Date
    Mar 2003
    Posts
    13
    PCalc is pretty nifty. It lets you input any standard C/C++ equation and shows the answer in floating point, hex, octal, integer, binary, and char all at the same time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Good Programming schools are they out there???
    By jbarby in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 05-12-2009, 07:31 PM
  2. Any good tutorials?
    By kimmag in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2008, 07:44 AM
  3. Game Programmer's AIM Circle: Join Today
    By KingZoolerius66 in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 12-20-2003, 12:12 PM
  4. Are programmers engineers?
    By joshdick in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 04-01-2003, 01:55 AM
  5. Replies: 2
    Last Post: 05-10-2002, 05:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21