Eko Sol
Strange Playings
517
|
Posted - 2014.07.04 01:12:00 -
[1] - Quote
Aero Yassavi wrote:Right now I have 67.6 PG which displays as 68 PG so obviously it rounded up. If I took my Dropsuit Core Upgrades to 5 I would have 68.25 PG, now would that still round up to 69 PG or does that game work such that if it is below 0.5 it rounds down so it would round down to 68 PG and there'd be no point in getting that skill?
So I did some massive investigating. Best I can figure is that Dust operates as Eve does in that it rounds up the display BUT is technically in decimal.
In addition, it turns out that if something were to take 68.35 PG and you had 68.25 PG then it classifies it as good. So it isn't so much that it actually rounds than the Boolean result is based on a excusable differential. For example.
You have only 10 PG but the math says you have 10.3 PG.
A gun takes up 10.7 PG. (Fitting optimizations)
The programming logic is something like
Quote:
If the "gun" pg required is less than the nearest high whole number (i.e the nearest high whole number is 11 so 10.99999 repeating would be a valid number)
and
If the "gun" pg available is not equal to or greater than the nearest high whole number (i.e. 11 or higher)
then
Allow (Return) of "Compliant"
else (if it fails the check)
Allow (return) of "non compliant"
So it's not that the gun is rounded to 11 and that your base pg is rounded to 11 it is that the programming logic indicates that anything 10.x matches 10.y and thus is compliant because it isn't 11.x. If you watch very carefully you can see the decimal PG added. For example if you have a fitting optimization for a SMG and a AR you can see that if you take the two decimal values and add them then you can see where the .2 and .8 becomes a 1. It will DISPLAY it rounded as you would in basic math. i.e. 10.49 would be 10 and 10.5 would be 11. If you had something that took up 1.5 PG (i.e. Adv Flaylock has 2 pg) and add that to a weapon of 10.5 pg you will get 12 but if you just put the 10.5 pg weapon you will get 11 so you might think it would be 12.5 because of the way it displays thus rounding to 13 but it won't. It will be 12 as the decimal values get added the rounding is displayed after everything.
Again, this may not be 100% but this is what I gathered when researching dampening and precision and using Eve forums/info/wiki. There are TONS of math posted for eve and, obviously, that isn't programming code but you should get the point.
EDIT:
I re read that and don't know how to explain it better than as follows:
if you have 10.3 PG on a suit then anything taking up 10.0 to 10.9999999999999 PG will be compliant for your fit. if you take two items with decimal values the decimal value will count. For example: If you have fitting optimizations on two weapons. one is 8.5 pg and the other has 1.5 pg then added together it would be 10. If you have exactly 10 PG available and place the 8.5 pg gun into the LW slot you will see that it took up 9. If you take it out and put the 1.5 pg gun you will see that it takes up 2 pg. Visually it looks like it will add up to 11 but it will not. When you place both it will add them both and THEN make any visual rounds. They still retain there decimal value.
Another example. If you can see passive scan at 22.5 DB then anyone dampened greater than 22.0 will be visible. This is based on the Eve explanations that I have found. CCP has never confirmed this in the forums and on numerous occasions people have asked.
PSN is "Ekopalm"
Playing: Murdered Soul Suspect
WIP: Child of Light, MGS5
Welcome to play with me anytime, message me.
|