I don't know what you want to achieve, but if you only have a problem with division, show us an example of the other operations, what for example does 1,0,0 + 2,0 give?
I don't know what you want to achieve, but if you only have a problem with division, show us an example of the other operations, what for example does 1,0,0 + 2,0 give?
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Little side project i am doing, and ran into a block. What i want to do is create a calculator that can do basic maths on a range of numbers limited only by the memory within computer <IE not the max imposed by the implementation. Its gona be in C++ so i wrote a vectorish class to help with this. My Problem now lies in Division.
Imaging i have two groups of numbers
A:1 0 0
B: 2 0
i wanted to know what A divided by B is. My problem is i can't seem to figure out or find a forumla that will allow me to divide the groups. Standard long division wouldn't work cause one number doesn't know the next exists
Thanks for your time
Sorry if this isn't very clear, post any questions.
PS: posted this in GD cause its not programming specific, its kinda general as we have no math place heh; but if ya think it should go else where move away of course
alrighty.
think of the numbers in the groupings as one big number
but each part of it
it would be like an int[3] = { 1 , 0 , 0} Which would be 100
Addition Multiplication and subtraction are easy enough with basic math you learn early in life but divion is ickier :P
so 1,0,0 + 2,0 = 120
Stop bumping your threads.
edit: Whoops - my mistake - sorry.
-Govtcheez
[email protected]
Umm i didn'trAdrian Respodned to my thread and responded to him. duno why his post is at top of my First psot <look at times, its wierd>
An easy way would be to implement the school long-hand division you learn in elementary school.