• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Q about logs

Status
Not open for further replies.
Just learned (formally) about them in precal the other day and i was just wondering, what would this be used for in wc3? Ive seen something about natural log approx on the forums but why would you need it?

well I think its used for some calculations for values needed in some codes/scripts.....
 
Level 15
Joined
Aug 31, 2009
Messages
775
Logarithms can invert the action of an exponential, so if ever you need to go back from an exponent to the original number, you'll need a log.
Eg.
3^x = 10
Then to find x, you'd use logs.
Giving:
x = [log 10]/[log 3] (For any log base)

Can't say I know exactly when you'd need this, but that's the general principle of their use.
 
Status
Not open for further replies.
Top