Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

JavaScript divide by zero

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?

Name: Anonymous 2007-02-09 2:37 (sage)

JavaScript

Name: Anonymous 2007-02-09 2:51

this is called math

Name: Anonymous 2007-02-09 3:46

>>3
truth

Name: Anonymous 2007-02-09 3:58

One word, the forced indentation of code. Thread over.

Name: Anonymous 2007-02-09 4:07

Infinity*0 produces NaN

Name: Anonymous 2007-02-09 4:55

>>3
This is called Maths.
fixed.

Name: Anonymous 2007-02-09 6:23

chuck norris can divide by zero

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?

Name: Anonymous 2007-02-09 9:41

>>9
Stupid American, learn to speak English. English is the language spoken in England.

Name: Anonymous 2007-02-09 10:10

>>10
ignorant britard, there are many different dialects of english spoken in england.

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

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.

Name: Anonymous 2007-02-09 11:24

>>11
No

Name: Anonymous 2007-02-09 14:13

>>14
Yes!!!

Name: Anonymous 2007-02-09 19:29

Math.pow(Infinity,-1) = 0
1/Infinity = NaN

what.

Name: Anonymous 2007-02-09 20:10

academical boardacademical boardacademicaacademical boardacademical boardlacademical board boacacademical boardademicalacademical board boardard

Name: Anonymous 2007-02-09 20:19

I'm in your computer, getting academical on your code.

Name: Anonymous 2007-02-09 21:50 (sage)

One word, the forced indentation of code. Thread over.

Name: Anonymous 2009-01-14 13:10

SICP

Name: Anonymous 2011-01-31 21:34

<-- check em dubz

Name: Anonymous 2011-03-22 23:28

it's almost as if you'd just discovered floating point operations

Name: Anonymous 2011-03-23 5:30

My thoughts on your education is that it lacks basic calculus

Name: Anonymous 2011-03-23 6:22

LACK MY CALCULUS

Name: Anonymous 2011-03-23 9:36

LAMBDA MY CALCULUS

Name: Sgt.Kabuꮳ닰kiman者挬 2012-05-28 22:28

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

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List