Win / KotakuInAction2
KotakuInAction2
Communities Topics Log In Sign Up
Sign In
Hot
All Posts
Settings
All
Profile
Saved
Upvoted
Hidden
Messages

Your Communities

General
AskWin
Funny
Technology
Animals
Sports
Gaming
DIY
Health
Positive
Privacy
News
Changelogs

More Communities

frenworld
OhTwitter
MillionDollarExtreme
NoNewNormal
Ladies
Conspiracies
GreatAwakening
IP2Always
GameDev
ParallelSociety
Privacy Policy
Terms of Service
Content Policy
DEFAULT COMMUNITIES • All General AskWin Funny Technology Animals Sports Gaming DIY Health Positive Privacy
KotakuInAction2 The Official Gamergate Forum
hot new rising top

Sign In or Create an Account

29
$3,415.3,900,000,000,003 (i.redd.it)
posted 5 years ago by altmehere 5 years ago by altmehere +29 / -0
27 comments share
27 comments share save hide report block hide replies
You're viewing a single comment thread. View all comments, or full comment thread.
Comments (27)
sorted by:
▲ 14 ▼
– Soup_Navy_Admiral 14 points 5 years ago +14 / -0

(Tries it.) Yep, still busted. From the 2+2=5 set comes "Help, I can't make my webpage subtract a constant from something with two decimal places." Hell's sake, if decimal math is so hard for you cut that part off and just make it two integers.

I was going to see if I could look at the javascript to see where they fucked it but I'm too much of a neophyte - after I hit my third tracking JS file instead of one that did actual work, I quit.

permalink save report block reply
▲ 9 ▼
– lgbtqwtfbbq 9 points 5 years ago +9 / -0

It's just a floating point calculation of input - 750.0 without rounding to the nearest two decimal digits. Fire up a python shell and do 4165.39 - 750.0 and you'll get the exact same result as the website.

permalink parent save report block reply
▲ 2 ▼
– A2BS 2 points 5 years ago +2 / -0

So at best they did the cardinal sin of programming and didn't test it. I'm not a CS guy, but couldn't they work around this by multiplying the input by 100, using an int instead of a float, then subtracting 75000, making it a float again, then dividing by 100?

permalink parent save report block reply
▲ 2 ▼
– lgbtqwtfbbq 2 points 5 years ago +2 / -0

Potentially yes, though they'd have to be careful to not do any sort of conversion to floating point at all, including using library functions to convert a string to a floating point number. Simply multiplying by 100.0 gives you the same problem:

>>> 4135.39 * 100.0
413539.00000000006

There's also a class of numeric algorithms called arbitrary precision arithmetic that can be used to provide exact results from calculations between arbitrarily large numbers. Less flexible (but also able to provide exact results within the constraints of the size of the data type) are what they call "decimal data types" provided by some programming languages.

I maintain a small and obscure piece of open source financial software as a hobby project, and getting this stuff exactly right (which I'm sure I'm not, despite my best efforts) is a pain.

permalink parent save report block reply

Original 8chan Links to Gamer Gate:

.

The main GG discussion is on the videogames board: https://8chan.moe/v/

.

GamerGate archive is at https://8chan.moe/gamergatehq/

.

GamerGate Wiki:

https://ggwiki.deepfreeze.it/index.php/Main_Page

. . . . . .

. . . . . .

Rules:

.

ONE: Do not advocate for illegal violence or post other illegal activity. (Be aware of your local laws.)

.

TWO: Don't threaten, harass, or impersonate users. Also: don't be a psycho. New users will be held to a higher standard.

.

THREE: Do not post porn.

.

FOUR: NSFW/NSFL content must be flaired NSFW.

.

FIVE: No vote manipulation. Do not break communities.win's features.

.

SIX: No spam or reposts. Do not make more than 5 threads a day.

.

SEVEN: Do not post falsehoods and hoaxes that are obvious to an uncontroversial degree.

. . . . . .

. . . . . .

Moderation Logs:

.

(Two different versions, Scored has more features and is cleaner, but .win let's you see a few more details in certain instances.)

  • Scored
  • .win

Moderators

  • DomitiusOfMassilia
  • C
  • BandageBandolier
  • CarmenOfSandiego
  • The_Shadow_of_Intent
  • SocraticMethod1
  • Kienan
  • Smith1980
Message the Moderators

Terms of Service | Privacy Policy

2026.02.01 - whmbz (status)

Copyright © 2026.

Terms of Service | Privacy Policy