MCPcopy 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

GetAAEXPPercentageMethod · 0.85
GetEXPPercentageMethod · 0.85
TuneGetStatsMethod · 0.85
TuneGetTotalToHitMethod · 0.85
TuneGetTotalDefenseMethod · 0.85
Tunecompute_defenseMethod · 0.85
GetTotalToHitMethod · 0.85
compute_defenseMethod · 0.85

Calls

no outgoing calls

Tested by 1

GetBaseSkillDamageMethod · 0.68