Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Modulus of large numbers from arccosine?

Author
Message
Programmer X
18
Years of Service
User Offline
Joined: 14th Nov 2007
Location:
Posted: 9th Mar 2014 21:15
How would I do this?

XXX
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 10th Mar 2014 00:36
What do you mean? Why are large numbers any different from small numbers in this respect?



Powered by Free Banners
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 10th Mar 2014 03:14
Doesn't it only return an angle value? That kind of limits it to 360, so I'm not sure what you mean by large number either.

ShellfishGames
13
Years of Service
User Offline
Joined: 6th Feb 2013
Location:
Posted: 10th Mar 2014 14:38
http://www.wolframalpha.com/input/?i=arccos

To be precise it's even limited to 180. Ranging from -1 to 1, DBP returns values between 180 and 0.

Also... what's a modulus exactly? The modulo operator? Apparently the term "modulus" has quite a few mathematical definitions, and I really can't tell which one is meant here.

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 11th Mar 2014 04:13
I'm assuming he meant modulo.

Perhaps he's referring to a very large decimal precision?

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 11th Mar 2014 15:37
I assumed he meant absolute value.

Either way he needs to explain what he meant.



Powered by Free Banners

Login to post a reply

Server time is: 2026-07-06 04:29:22
Your offset time is: 2026-07-06 04:29:22