Results 1 to 4 of 4

Thread: Binary

  1. #1

    Thread Starter
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268

    Question

    I'm looking for some sort of exquation or function that I could work into BASIC for use on a TI-83 calculator I have. I'll take nearly anything, so long as it's BASIC in nature. I've looked around and can't find anything on conversion to/from binary so even some links would help.

    Thanks,
    Zaphod
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151

    Some data.

    I have programmed all sorts of Radix conversions in various languages, but am not sure what the TI-83 can do.

    Does it have a Mod function? Does it process alphabetic data? What is the format desired for arguments to and results from a conversion function? Can it do Binary, Octal, or Hex arithmetic? When converting from Radix A to Radix B, it is a real pain if Radix A arithmetic is not available.

    Does the TI-83 have a BASIC-like programming language? I use an HP48-GX which is really great. Most programmers I know prefer a Stack Calculator to an algebraic one. Have you ever used a Stack calculator?

    Do you really want to convert from/to Binary? Perhaps you really want to convert from/to Octal or Hex. Binary is such a pain for human beings.

    If you give me a bit more information, I might be able to provide some clues and/or algorithms.

    BTW: My HP48-GX has builtin Binary, Hex, & Octal conversion for integers, but not for fractional values.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    I've done this too, Strings are very crappy in Ti-83 so i did it with lists, a pretty useful datatype.

    Wait until The search thing starts functioning on this site, i've posted my Ti-83 code somewhere, but we can't do search yet, it says
    "Sorry. The search function has been disabled by the administrator."
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    BTw, if anyone knows what mod operator is in Ti-83 i'd be glad to know, until now i've done it like A-int(A/B)*B which is a very ugly way to do it.

    All aritmetics is done with Radix10, my convertor converts between lists containing real datatypes as decimals> makes convertion between any bases upto 999 999 if i remeber correct

    The programming language in ti83 is concentrated on mathematical functions and operators, a big deal of them that i've never used. There's lots of datatypes including graphical, lists, matrixes, real and imaginary, strings and probably some others too, some functions allows you to modify the graph display and such..
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width