Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new approach to base conversion system and math library
#2
with This I plan to have it multiply 2 numbers you enter in in any given base and output the answer into the base you choose, If I am successful it will form the basis from which I will create a library of math operations that can multiply any two numbers in any base up to 81 the table for the bases up to 81 is basically value +48 for values 0 -78
and for value 79 and 80 I borrowed two characters from the ascii table that I am not likely to use it supports using a sign, and if the value is positive no sign is needed, positive number is assumed if no sign is present the decimal point is searched for and no math calculations will be done with it but its position in the numbers will be measured/ counted so that the correct position for the decimal point can be restored into the answer in the correct location. I think it might be possible to convert the whole number and to multiply the numbers keeping the whole number and just multiplying all the digits keeping track of what position each of the results are going to go in to...you could possibly multiply the digits from high to low or low to hi but basically I will need to make a loop that multiply every digit in one number by every digit in the other number and in some of the cases there might be a "carry" from another calculation.

oh and it is not finished yet though This is just the data entry part pretty much...
Reply


Messages In This Thread
RE: new approach to base conversion system and math library - by Dragoncat - 07-05-2025, 05:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Keyhit to Inkey Conversion Project Pete 7 596 01-11-2026, 01:26 AM
Last Post: Pete
  3D Sun-Earth-Moon System (_MAPTRIANGLE3D) Magdha 8 748 11-11-2025, 10:09 AM
Last Post: Magdha
  QB UI Library aadityap0901 6 1,188 08-02-2025, 05:13 PM
Last Post: aadityap0901
  Everything Date Library in progress SMcNeill 2 720 05-14-2025, 08:36 PM
Last Post: SMcNeill
  universal base conversion program possibly for a base conversion library later on Dragoncat 22 3,074 04-24-2025, 02:08 AM
Last Post: Dragoncat

Forum Jump:


Users browsing this thread: 1 Guest(s)