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

Pages: 1-4041-

python

Name: Anonymous 2007-10-09 10:55

>>> 0.1
0.10000000000000001


nuff said

Name: Anonymous 2007-10-09 11:09

>>1
Which is correct behaviour. Furthermore:

>>> str(0.1)
'0.1'

Name: Anonymous 2007-10-09 11:17

>>2
Which is correct behaviour.
Faggot.

Name: Anonymous 2007-10-09 11:20

lol floats

Name: Anonymous 2007-10-09 11:46

Which is correct behaviour.
Since when is 0.1 == 0.10000000000000001?

You'd think a slow higher-level language would get this much right.

Name: Anonymous 2007-10-09 11:47

FURTHERMORE inexact->exact.

Name: Anonymous 2007-10-09 12:06

>>2
Which is correct behaviour.

LOL, You are an IDIOT at this
also

FORCED INDENTATION OF CODE

Name: Anonymous 2007-10-09 12:07

>>5
Ask in /sci, I foresee a successful thread

Name: Anonymous 2007-10-09 13:14

>>> round(0.1, 1)
0.10000000000000001

Name: Anonymous 2007-10-09 13:18

Lets see what Prolog says about all this:

?- 0.1 = 0.10000000000000001.

No.

Name: Anonymous 2007-10-09 13:29

It's over. Python is finished.

Name: Anonymous 2007-10-09 13:33

lol python:

>>> (0.4 - 0.3) == 0.1
False

Name: Anonymous 2007-10-09 14:13

You guys don't understand binary representation of decimal fractions.

Name: Anonymous 2007-10-09 15:25

>>13
You don't understand math.

Name: Anonymous 2007-10-09 15:33

this is more idiotic than the divide by zero shit

Name: Anonymous 2007-10-09 15:49

>>15
Please refer yourself to IEEE 754 which describes why this is, in fact, the correct behavior.

Name: Anonymous 2007-10-09 15:54

>>14
My degree in Mathematics and Computer Science would indicate otherwise, faggot.

Name: Anonymous 2007-10-09 15:56

>>17
I fucked your mum, faggot.

Name: Anonymous 2007-10-09 15:57

>>18
I fucked your faggot, mum.

Name: Anonymous 2007-10-09 15:57

>>18
Really, when?

Name: Anonymous 2007-10-09 15:57

>>19
When, really?

Name: Anonymous 2007-10-09 15:58

>>17
My PhD says you fail.

Name: Anonymous 2007-10-09 15:59

I have a PhD in mom fucking, I proved a link between me and your mom via my dick.

Name: Anonymous 2007-10-09 16:02

>>22
I'm sitting here in my nice leather professor chair enjoying my tenure. So fuck you.

Name: Anonymous 2007-10-09 16:05

Ha Ha, earthlings. From my higher plane of existence, I can say with absolute certainty that you all fail at math.

Name: Anonymous 2007-10-09 16:05

>>24
I'm sitting here meditating enjoying my Satori. So fuck you too.

Name: Anonymous 2007-10-09 16:17

>>17-26 is the real /prog/

Name: Anonymous 2007-10-09 16:34

>>24
GB2 bed, House.

Name: Anonymous 2007-10-09 17:09

>>1
>>5
>>9
The interactive interpreter shows you the repr() of things you type in, these are different to what you get when you convert all those values to strings (as they must be if you want to display them to a person somewhere)

It's not a bug though.

Name: Anonymous 2007-10-09 18:01

>>> 0.00000000001
9.9999999999999994e-12

Name: Anonymous 2007-10-09 18:56

This is mind-blowing. I can't believe so many EXPERT PROGRAMMERS have no fucking clue how floats actually work.

Name: Anonymous 2007-10-09 19:09

binary representation of decimal fractions motherfuckers.
Are you guys idiots or something? The theory behind digital representation of numbers should be the first thing you learn before learning assembly.

Name: Anonymous 2007-10-09 19:20

>>1

That's debatable...

Name: Anonymous 2007-10-09 20:04

>>1
:facepalm:

Name: Anonymous 2007-10-10 22:21

>>31
I can't believe you took this thread serious.

Idiot.

>>32
You fail at math. End of story.

Name: Anonymous 2007-10-10 23:44

>>35
You fail at electronics. Representation of numbers in an electronic computers are a circuit level problem.

Name: Anonymous 2007-10-11 6:05

>>36
you fail at /prog/

floating point interpretation is software standard

Name: Anonymous 2007-10-11 7:39

Name: Anonymous 2007-10-11 8:05

>>38
What the fuck does that have to do with anything?  Python (nor anything else on the planet) doesn't have that bug.

Name: Anonymous 2007-10-11 8:15

Ok wow copypasta more fag.  jesus /prog/ has turned into such a fuqin broken record.

Name: Anonymous 2007-10-11 10:33

>>37
representation != interpretation

Name: Anonymous 2007-10-11 16:09


ben@~: ghci                                                                                                                                           21:06:47
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.6.1, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base ... linking ... done.
Prelude> 0.1 == 0.10000000000000001
True
Prelude> Leaving GHCi.



ben@~: sbcl                                                                                                                                           21:08:13
This is SBCL 1.0.9, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>;.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (= 0.1 0.10000000000000001)

T
* %


nuff said

Name: Anonymous 2007-10-11 17:05

>>42
final nail in haskell's coffin

Name: Anonymous 2007-10-11 19:07

>>42
BEN

Name: Anonymous 2007-10-11 20:14

>>42
fuck you ben

Name: Anonymous 2007-10-11 20:48

>>42
Hah! Ben uses Haskell. Faggot.

Name: Anonymous 2007-10-12 3:55

Shit.

Name: Anonymous 2009-03-04 17:00

a
b
cd
ef
g
h


??

Name: Anonymous 2009-03-04 17:18

a
b
cd
ef
g
h
i
j
k
l

:(

Name: Anonymous 2009-03-04 17:20





:)

Name: Anonymous 2009-03-04 17:21





...

Name: Anonymous 2009-03-04 17:21








...

Name: Anonymous 2009-03-04 17:22








[i]???????[i]

Name: Anonymous 2009-03-04 17:23









???????

Name: Anonymous 2009-03-04 17:24






no


!

Name: Anonymous 2009-03-04 17:33









Name: Anonymous 2009-03-04 17:43




















Name: Anonymous 2009-03-04 17:45


































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