Jump to content



Photo
- - - - -

Binary Calculating


  • Please log in to reply
2 replies to this topic

#1 JayDee

JayDee

    Newbie

  • Members
  • Pip
  • 3 posts

  • Calculators:
    fx-9860GII

Posted 07 May 2012 - 01:49 PM

Hey there!

I'm still programming on the fx-9860GII, I want to get as much knowledge here before learning C.
Anyway, I found out that 26 variables was a little bit to little.

I came up with a program which can let you store information in strings. It's based
on the binary number system. However, if I want to store numbers in the string I have
to convert them to binary first. Is there a way to do this?

I'm sorry for my English, please don't judge me there.
And if you think I made a mistake somewhere or my program is a bit cumbersome, please tell me

JayDee,

#2 Martin

Martin

    Casio Freak

  • Members
  • PipPipPipPip
  • 121 posts
  • Gender:Male
  • Location:Praha
  • Interests:asm on cfx9850

  • Calculators:
    fx82l
    fx7700GB
    cfx9850G
    TI92
    fx9860G SD
    Rheinmetall KEL IIc
    H. W. Ebmeyer - Tarema
    fx cg20

Posted 07 May 2012 - 05:44 PM

Hello,
I do not know how many variables you need, but you can use lists (1 dimensional arrays) and matrices (2 dimensional arrays).
Storing numbers to string in binary would be very slow and memory consuming.

Example for list:
create list for 5 numbers
5->Dim List 1
store some values:
1->List 11
A->List 12
C+2D->List 13
use them:
List 11+List 13->X
X/List 14->List 15

There are 26 lists (List 1 ~ List 26) and 26 matrices (Mat A ~ Mat Z)
Of course the index may be expression (e.g.: List 1[X+3])

I hope this helps you for the very beginning.

#3 somebody1234

somebody1234

    Casio Addict

  • Members
  • PipPipPip
  • 51 posts

  • Calculators:
    Casio fxcg10
    Casio fx-9860GII
    Casio Classpad 400

Posted 08 February 2014 - 02:40 AM

There is a program that can convert bases but you may have to change it:
http://www.cemetech....p&path=archives




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users