Math#
2026-10-07
1 min read time
Applies to Linux and Windows
This page covers the math extended API, providing integer arithmetic utilities including ceiling division, rounding, and integer logarithm functions.
Header |
Content |
libhipcxx Availability |
|---|---|---|
Ceiling division |
libhipcxx 2.7 |
|
Round up to the next multiple |
libhipcxx 3.0 |
|
Round down to the previous multiple |
libhipcxx 3.0 |
|
Integer logarithm to the base 2 |
libhipcxx 3.0 |
|
Integer logarithm to the base 10 |
libhipcxx 3.0 |