Hamumu Software Hamumu Software Hamumu Software
Name
Password Register
Latest Journal update: Oct 22, 2017
Old 11-17-2005, 07:51 AM   #1
Coolguy
Couch Potato
 
Coolguy's Avatar
 
Join Date: May 2004
Location: Dumbopolis
Posts: 5,926
Default Square Roots

Is it possible to do a square root in a variable equation? I really need one!
__________________
T&T- New Region!
Coolguy is offline   Reply With Quote
Old 11-17-2005, 07:59 AM   #2
Jamul
Marshmallow Head
The Boss
 
Jamul's Avatar
 
Join Date: Jun 2003
Location: Hamumu HQ
Posts: 6,118
Default

Nope, sorry... what do you want a square root for!?

If it's for distance, you can skip the square root and just use X*X+Y*Y (well, you have to do it in two steps to work in Supreme, since there's no order of operations), then compare it to the square of the distance you want. That's how it's often done on computers, since square roots are slow. So like if you want to know if you are 3 squares away, you'd check if X*X+Y*Y=9 (3 squared).
__________________
Jamul is online now   Reply With Quote
Old 11-17-2005, 08:15 AM   #3
Coolguy
Couch Potato
 
Coolguy's Avatar
 
Join Date: May 2004
Location: Dumbopolis
Posts: 5,926
Default

Thanks!
__________________
T&T- New Region!
Coolguy is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting The Hamumu Forum Back In It's Roots REACTOR General Blabber 3 09-21-2014 05:15 PM
Square Planet SpaceManiac Making Dumb Games 5 08-23-2008 06:35 PM
The Square Root of A Vasari Lemon... Ninja of Frozen Milk Total Mayhem 9 08-05-2008 02:15 PM
square root of - 1 lilbit Dr. Lunatic 8 10-08-2007 05:13 AM


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.
Site Map
Copyright 2017, Hamumu Games Inc.