Omnimaga

General Discussion => Other Discussions => Humour and Jokes => Topic started by: DJ Omnimaga on March 04, 2010, 11:18:49 pm

Title: Axe Parser can divide by Zero!
Post by: DJ Omnimaga on March 04, 2010, 11:18:49 pm
Guess the awnser....

IT'S OVER 9000!!!!

Quote
[23:13:59] <@DJ_Omni> can axe divide by zero?
[23:14:07] <+calc84> let me check
[23:14:16] <geekfail> lol
[23:14:29] <+calc84> D:
[23:14:34] <+calc84> 1/0 is over 9000
[23:14:38] <@DJ_Omni> lol
[23:15:12] <+calc84> so yeah, apparently anything divided by 0 is 65535
Title: Re: Axe Parser can divide by Zero!
Post by: Builderboy on March 04, 2010, 11:21:05 pm
I like this feature actualy :) When you divide by 0, giving the largest possible number makes the math work usualy :D
Title: Re: Axe Parser can divide by Zero!
Post by: bwang on March 04, 2010, 11:32:46 pm
Whoa! Crazy!
So from now on, when someone asks what 1/0 is, we can say 65535 ;D.
I do agree with Builderboy that this is a nice feature, although it might produce strange bugs in math programs. Then again, who would ever write math programs in Axe?
Title: Re: Axe Parser can divide by Zero!
Post by: miotatsu on March 05, 2010, 12:30:01 am
oh i would
Title: Re: Axe Parser can divide by Zero!
Post by: Builderboy on March 05, 2010, 12:33:14 am
:O

lol, so how would throwing an error make math programs work better anyway? :P there isn't a really correct answer that can be stored in an int, so as far as I'm concerned this is the best solution (IMHO)
Title: Re: Axe Parser can divide by Zero!
Post by: DJ Omnimaga on March 05, 2010, 01:23:18 am
lol yeah true :P
Title: Re: Axe Parser can divide by Zero!
Post by: bwang on March 05, 2010, 02:41:40 am
Throwing an error lets the user know they entered an invalid input, whereas returning 65535 makes them get a wrong answer.
Title: Re: Axe Parser can divide by Zero!
Post by: ztrumpet on March 05, 2010, 06:52:20 am
Nice!  I'm glad it doesn't give an error. ;D
Title: Re: Axe Parser can divide by Zero!
Post by: Galandros on March 05, 2010, 01:58:48 pm
Funny quote.
Anyway, Axe Parser at least tries to divide by zero unlike TI-BASIC. It is unsuccessful but closer to the answer. xD
Note that a number divided by a extremely small number gives a large number. :D So divide by 0 would give infinity. But that is just "half true"...