|
| 22 Jun 2016 01:27 PM |
In lua, if something is divided by zero math.huge is outputed. But when 0 is / 0, it outputs NaN (Not A Number). So what's you opionin on what 0/0 and #/0 should be?
Now as your babbling about how #/0 should equal 69, I don't want another dum argument. If your gonna disagree with someones logic, prove why with a link to some site/video. There should be no reason to critisize someones knoledgibilty based on there opionins.
In my opionin, anything divided by zero should equal undifined. Example:
2/0 == 1/0 * 2 | \/ (2/0)*(0/1) ~= (1/0)*(0/1) *2 (basicly, if we use algerbra and take away 1/0 from right side adding it on to the left, we get 0 == 2, which is not true) Agree to agree? Agree to disagree? |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2016 01:48 PM |
| That's not how math works. |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2016 01:52 PM |
| @TimeTicks then why does RBX lua think that #/0 == math.huge? |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2016 01:58 PM |
| I'm waiting for your SUPER explation on why lua thinks #/0 == math.huge. What's that? Do you not have a solid argument? |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 22 Jun 2016 02:02 PM |
Because any number divided by 0 is indeterminate. In calculus an indeterminate form is no good. Because of this we resort to division by zero as infinity because if you take the limit as x approaches 0 with a given function of n/x with n being any number, the value because more positive, which is why we say infinity.
|
|
|
| Report Abuse |
|
|
BanTech
|
  |
| Joined: 31 Dec 2015 |
| Total Posts: 886 |
|
|
| 22 Jun 2016 02:04 PM |
"(2/0)*(0/1) ~= (1/0)*(0/1) *2 (basicly, if we use algerbra and take away 1/0 from right side adding it on to the left, we get 0 == 2, which is not true)"
Your algebra is so bad. You can't just take a number from one side and add it on to the other. If you take away 1/0 you have to take it from both sides. Secondly, I think you meant divide instead of take away. Thirdly, you already established they aren't equal with your ~= sign, so you can't possibly treat it as if it was an equation. |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2016 02:06 PM |
| @TimeTicks why'd you say that any # divided by zero doesnt exist. Cause cleary, you just explained why it is a # (infinity). |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 22 Jun 2016 02:09 PM |
Dude please stop posting these questions you're so cringe
|
|
|
| Report Abuse |
|
|
|
| 22 Jun 2016 02:11 PM |
@BanTech Oh but doesnt my algerbra work with any other equation?
Example:
1 = 1 + 0 | \/ (1)-1 == (1)-1 + 0 (TRUE)
5/1 = 1/1 * 5 | \/ (5/1)*1 == (1/1)*1 *5 (TRUE) |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 22 Jun 2016 02:11 PM |
@Lateral I was talking about if you were taking a limit. It is still indeterminate and therefore doesn't exist for any other application. You will never be able to do n/x.
|
|
|
| Report Abuse |
|
|
BanTech
|
  |
| Joined: 31 Dec 2015 |
| Total Posts: 886 |
|
|
| 22 Jun 2016 02:12 PM |
| You did completely different algebra there. Try reading your original post and see that you said to "take away" from one side by adding it to the other... |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 22 Jun 2016 02:13 PM |
| Infinity isn't a number, it's a concept |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
| |
|
|
| 22 Jun 2016 02:16 PM |
Alright, alright I'll try not to spam with my replies any more.
@Soybeen Sadly I'm not the one who's making these threads cringe worthy, it's the people who posted here. Take TimeTicks for example. He was the one who flat out called me stupid for seemingly no reason?!?
@BanTech Ok, Ok my explanation to the equation was pretty bad. But the equation still outputs false, right?
2/0 == 1/0 * 2 | \/ (2/0)*(0/1) == (1/0)*(0/1) *2 (FALSE) |
|
|
| Report Abuse |
|
|
fret13103
|
  |
| Joined: 15 Mar 2010 |
| Total Posts: 881 |
|
|
| 22 Jun 2016 02:17 PM |
anything / 0 is infinity or 0.
math.huge is just as close to infinity as you can easily get in lua. |
|
|
| Report Abuse |
|
|
BanTech
|
  |
| Joined: 31 Dec 2015 |
| Total Posts: 886 |
|
|
| 22 Jun 2016 02:19 PM |
Again, you're wrong. Do you know how fractions work? When multiplying, multiply the numerators together, and multiply the denominators.
Your equation (2/0)*(0/1) == (1/0)*(0/1)*2 is simplified to 2*0/(0*1) = 1*0/(0*1) * 2 is simplified to 0/0 = 0/0 * 2 and as we all know, 2*0 = 0
Nice job |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2016 02:27 PM |
| @BanTech one last thing, 0/0 = 0/0 * 2 is,well NaN. 0/0 could equal 0, but it could also equal 1. Even lua says that 0/0 is NaN. |
|
|
| Report Abuse |
|
|
BanTech
|
  |
| Joined: 31 Dec 2015 |
| Total Posts: 886 |
|
|
| 22 Jun 2016 02:30 PM |
| Okay, but that's not relevant. What's relevant is your algebra sucks, and NaN == NaN so your whole algebraic "proof" is flawed. |
|
|
| Report Abuse |
|
|
Skellobit
|
  |
| Joined: 13 Apr 2016 |
| Total Posts: 12758 |
|
| |
|
| |
|
|
| 22 Jun 2016 02:50 PM |
print((0/0)~=(0/0)) --true
Kool, huh? |
|
|
| Report Abuse |
|
|
BanTech
|
  |
| Joined: 31 Dec 2015 |
| Total Posts: 886 |
|
|
| 22 Jun 2016 02:54 PM |
That's fascinating, I'd love to hear your explanation for that, unless that's just a problem where you can't evaluate numbers that aren't numbers...
In real life though, are the errors not equal? |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2016 03:35 PM |
| There's a reason the math community agrees the value is "undefined." |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2016 04:02 PM |
| Time Paradox. I divided by zero --> https://www.roblox.com/games/439200715/Time-Paradox-Divide-By-Zero-Error |
|
|
| Report Abuse |
|
|