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

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.

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