JavaScript divide by zero
1
Name:
Anonymous
2007-02-09 2:12
-Infinity/0 produces -Infinity
-1/0 produces -Infinity
0/0 produces NaN
1/0 produces Infinity
Infinity/0 produces Infinity
What are your thoughts on this?
2
Name:
Anonymous
2007-02-09 2:37
(sage)
JavaScript
3
Name:
Anonymous
2007-02-09 2:51
this is called math
4
Name:
Anonymous
2007-02-09 3:46
5
Name:
Anonymous
2007-02-09 3:58
One word, the forced indentation of code. Thread over.
6
Name:
Anonymous
2007-02-09 4:07
Infinity*0 produces NaN
7
Name:
Anonymous
2007-02-09 4:55
>>3
This is called Maths.
fixed.
8
Name:
Anonymous
2007-02-09 6:23
chuck norris can divide by zero
9
Name:
Anonymous
2007-02-09 8:16
>>7
this is only one. more than one would be these. and whats with shouting the first letter?
10
Name:
Anonymous
2007-02-09 9:41
>>9
Stupid American, learn to speak English. English is the language spoken in England.
11
Name:
Anonymous
2007-02-09 10:10
>>10
ignorant britard, there are many different dialects of english spoken in england.
12
Name:
Anonymous
2007-02-09 10:55
>>1
my thought : javascript failed
because :
-Infinity/0 = Infinity not -Infinity
-1/0 = Infinity not -Infinity
0/0 = 0 not NaN
and :
it's javascript
13
Name:
Anonymous
2007-02-09 11:16
>>12
Yes, Javascript is better than most languages discussed on this academical board, only Haskell and C++ (without --) surpasses it.
14
Name:
Anonymous
2007-02-09 11:24
15
Name:
Anonymous
2007-02-09 14:13
16
Name:
Anonymous
2007-02-09 19:29
Math.pow(Infinity,-1) = 0
1/Infinity = NaN
what.
17
Name:
Anonymous
2007-02-09 20:10
academical boardacademical boardacademicaacademical boardacademical boardlacademical board boacacademical boardademicalacademical board boardard
18
Name:
Anonymous
2007-02-09 20:19
I'm in your computer, getting academical on your code.
19
Name:
Anonymous
2007-02-09 21:50
(sage)
One word, the forced indentation of code. Thread over.
20
Name:
Anonymous
2009-01-14 13:10
SICP
22
Name:
Anonymous
2011-01-31 21:34
<-- check em dubz
23
Name:
Anonymous
2011-03-22 23:28
it's almost as if you'd just discovered floating point operations
24
Name:
Anonymous
2011-03-23 5:30
My thoughts on your education is that it lacks basic calculus
25
Name:
Anonymous
2011-03-23 6:22
LACK MY CALCULUS
26
Name:
Anonymous
2011-03-23 9:36
LAMBDA MY CALCULUS
Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy