0
5

[–] Morbo 0 points 5 points (+5|-0) ago 

I think you just found 11 bytes of code you could shrink down to 0 bytes.

0
3

[–] drumy 0 points 3 points (+3|-0) ago 

That's infinite compression, you should publish a paper on it.

0
2

[–] BakedMofoBread 0 points 2 points (+2|-0) ago 

I dunno, maybe they overloaded the division operator. Overloading / will affect /=

0
0

[–] goalltheway 0 points 0 points (+0|-0) ago 

underrated comment otherwise it makes no sense

0
2

[–] avgwhtguy1 0 points 2 points (+2|-0) ago 

placeholder

0
0

[–] drumy 0 points 0 points (+0|-0) ago 

for a future empty line

0
1

[–] roznak 0 points 1 points (+1|-0) ago 

If this is "_a = _a / 1.0" then "_a" may not have the same value anymore and introduce a very small epsilon error.

If _a=10, then may become _a == 10.0000000001 or _a == 9.99999999987

0
1

[–] Myrv 0 points 1 points (+1|-0) ago 

Any decent compiler should optimize that line away (GCC does at its default optimization level). So while odd, it really shouldn't affect anything.

0
1

[–] 11988164 0 points 1 points (+1|-0) ago 

What language? I don't understand? Is it setting a constant to a decimal value of itself maybe instead of a float or a single digit?

I don't know this language I don't think so I don't know what is special about underscore a.

0
2

[–] Cooking_with_Alf 0 points 2 points (+2|-0) ago  (edited ago)

_a can be a variable name. /= is something is equal to itself divided by whatever comes after the operator. 1.0 is obviously a double.

edit: C#

_a = _a / 1.0;

0
4

[–] 11988255 0 points 4 points (+4|-0) ago  (edited ago)

I think it is setting _a to half of itself. I think it is setting _a to _a divided by 1.0.

/= is a "divide by and set" operator. So the joke is it is setting itself to itself divided by one, which should be the same. But if _a is an INT or something, then the 1.0 would actually be [if the interpeter is sophisticated] setting itself to the same value with a different type.

But I don't know why _a is special.

0
0

[–] drumy 0 points 0 points (+0|-0) ago 

Maybe it's a test of FP unit.