Home
last modified time | relevance | path

Searched refs:rounded (Results 1 – 1 of 1) sorted by relevance

/NW4C-2.0.3/include/nw/ut/
Dut_Inlines.h496 IntPtr rounded = (value + (base - 1)) & ~(base - 1); in RoundUp() local
498 return reinterpret_cast<void*>(rounded); in RoundUp()
506 IntPtr rounded = (value + (base - 1)) & ~(base - 1); in RoundUp() local
508 return reinterpret_cast<const void*>(rounded); in RoundUp()
534 IntPtr rounded = value & ~(base - 1); in RoundDown() local
536 return reinterpret_cast<void*>(rounded); in RoundDown()
544 IntPtr rounded = value & ~(base - 1); in RoundDown() local
546 return reinterpret_cast<const void*>(rounded); in RoundDown()