| |
Trifox Account closed
Registered: Mar 2006 Posts: 108 |
calculating of square roots ?
hi all, for my newest project i am in urgent need to calculate the length of a 2d vector, reminding pythagorian math i remember that i have to calculate the roots of a fixed point (8bits.8bits) number, how can that be mastered in a convenient way ?!?!?!
thx
|
|
... 92 posts hidden. Click here to view all posts.... |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
computer science is a form of >>>applied<<< math. and there is no doubt about it :) pure math is more like pure information science, both are in many cases pretty useless for realworld problems :) |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
I think you see "computer science" too much as a computer course which it isn't. Computer science was started long before computers existed, and btw "information science" is computer science aswell. That's why we call it "Informatik" in germany. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
no, i'm not mistaking CS as a programming course, i know it isnt. (and programming has little to do with "informatik"). but there is still a difference between what resembles "applied" math (sth like "technische informatik") which deals with solving real world problems and all the theory mumbowumbo many other parts of math (and CS) relate to. (what i wrote previously is a -admittedly shortened and slightly modified- quote from edsgar dijkstra btw, taken from a simelar discussion about a simelar topic... other nice ones are "Programming is one of the most difficult branches of applied mathematics; the poorer mathematicians had better remain pure mathematicians." and "...the harm was done: the topic became known as "computer science"---which, actually, is like referring to surgery as "knife science"---and it was firmly implanted in people's minds that computing science is about machines and their peripheral equipment." :)) |
| |
Danzig
Registered: Jun 2002 Posts: 440 |
this is all sooooo *offtopic* :) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
someone call the police! |
| |
Danzig
Registered: Jun 2002 Posts: 440 |
you should empty your stiffy pockets before they arrive |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
they are as empty as they could be unfortunatly :( |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
Yeps, when will somebody post a sqrt routine... except me :P |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
lda table,x
8 bit input is in X, 8 bit output in A
*runs* |
| |
Monte Carlos
Registered: Jun 2004 Posts: 359 |
I already posted, where you can look for it ;)
Monte
|
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 - Next |