Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EQEmu/EQEmu
/ round
Function
round
tests/cppunit/missing.cpp:72–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
71
#ifndef HAVE_ROUND
72
double
73
round(double d)
74
{
75
return d > 0.0 ? floor(d + 0.5) : ceil(d - 0.5);
76
}
77
#endif
78
79
} // namespace Test
Callers
15
GetAAEXPPercentage
Method · 0.85
GetEXPPercentage
Method · 0.85
TuneGetStats
Method · 0.85
TuneGetACByPctMitigation
Method · 0.85
TuneGetATKByPctMitigation
Method · 0.85
TuneGetAvoidanceByHitChance
Method · 0.85
TuneGetAccuracyByHitChance
Method · 0.85
TuneGetTotalToHit
Method · 0.85
TuneGetTotalDefense
Method · 0.85
Tunecompute_defense
Method · 0.85
GetTotalToHit
Method · 0.85
compute_defense
Method · 0.85
Calls
no outgoing calls
Tested by
1
GetBaseSkillDamage
Method · 0.68