I want my 15% DD from AG + 15 (in General)


Wizard'sFirstRule September 8 2008 10:32 PM EDT

Fireball 7,802,649 6,905,000 612,024 541,614
there seems to be a rounding error in the raw level/level for the last 30k or so level. I suppose Jon stores the increase from AG in a double, and the way it is processed lets a little rounding error creep in.

three4thsforsaken September 8 2008 10:35 PM EDT

As if we needed more complaining... this is obviously an incredibly urgent problem

Cube September 8 2008 11:40 PM EDT

There's nothing wrong with pointing out a small bug, don't draw and quarter him.

I doubt it's a rounding error because the percent increase you are getting is EXACTLY 13%. It's a small bug that must've creeped in that needs a fix.

Wizard'sFirstRule September 8 2008 11:58 PM EDT

computer stores number in 1s and 0s. I think the way decimals are stored is 1/2 + 1/4 + 1/8 + 1/16 + ... so 1/3 would be stored as:
1/3 < 1/2, so 0 x 1/2
1/3 > 1/4, so 1 x 1/4, 1/3 - 1/4 = 1/12
1/12 < 1/8, so 0 x 1/8
1/12 > 1/16, so 1 x 1/16, 1/12 - 1/16 = 1/48 etc
with things like 0.13, I suppose it would have some error even if you go to 1/(2 ^ 16).

iBananco [Blue Army] September 9 2008 12:02 AM EDT

HoC.

Cube September 9 2008 12:03 AM EDT

^Nice catch.

Wizard'sFirstRule September 9 2008 12:32 AM EDT

I wasn't worried about the 2% from HoC, it is the last 1 point from rounding.

Cube September 9 2008 12:44 AM EDT

Uhm 15% from the AGs, minus 2% from the HoC is 13%, which is the bonus you have.

1.13 * 6 905 000 = 7,802,650
It is off by literally one point.

541,614 * 1.13 = 612,023.82
The effect is exactly correct.

Wizard'sFirstRule September 9 2008 12:50 AM EDT

yes, but I want that 1 point, it might be 1 point of effect at some level. :P

PearsonTritonRaveshaw September 9 2008 12:53 AM EDT

.... you want one point added to your FB level?

Ryuzaki September 9 2008 1:00 AM EDT

As was stated this is an extremely urgent problem.

Lord Bob September 9 2008 1:17 AM EDT

Guess what guys, programming languages handle floating point numbers... oddly. A difference of only a single point? Really, NOT a real problem.

Cube September 9 2008 1:27 AM EDT

I have to agree with 3/4ths...
This thread is closed to new posts. However, you are welcome to reference it from a new thread; link this with the html <a href="/bboard/q-and-a-fetch-msg.tcl?msg_id=002XRV">I want my 15% DD from AG + 15</a>