Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > calculating of square roots ?
2006-06-29 00:59
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....
 
2006-07-11 15:56
chatGPZ

Registered: Dec 2001
Posts: 11114
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 :)
2006-07-11 16:38
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.
2006-07-11 17:08
chatGPZ

Registered: Dec 2001
Posts: 11114
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." :))
2006-07-12 18:34
Danzig

Registered: Jun 2002
Posts: 429
this is all sooooo *offtopic* :)
2006-07-12 18:35
chatGPZ

Registered: Dec 2001
Posts: 11114
someone call the police!
2006-07-12 19:53
Danzig

Registered: Jun 2002
Posts: 429
you should empty your stiffy pockets before they arrive
2006-07-12 22:30
chatGPZ

Registered: Dec 2001
Posts: 11114
they are as empty as they could be unfortunatly :(
2006-07-13 17:41
Graham
Account closed

Registered: Dec 2002
Posts: 990
Yeps, when will somebody post a sqrt routine... except me :P
2006-07-13 17:55
chatGPZ

Registered: Dec 2001
Posts: 11114
lda table,x


8 bit input is in X, 8 bit output in A

*runs*
2006-07-14 06:33
Monte Carlos

Registered: Jun 2004
Posts: 351
I already posted, where you can look for it ;)

Monte
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
da Blondie/Resource
AnonymousMOS
ptoing
Apollyon/ALD
Guests online: 113
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.07 sec.