commit | 15a5f8de00c9c11a985ab16279ffae02b1e4667f | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Wed Jun 06 16:58:17 2018 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Jun 06 16:58:53 2018 +0200 |
tree | efacad0ecc80250d0258ed0cae5dda314680779c | |
parent | dfb0b97f55452edc4ca4145f25c45b1d74014782 [diff] |
Add osmo_isqrt32() to compute 32bit integer square root Change-Id: I2b96db6e037e72e92317fec874877e473a1cf909
diff --git a/include/osmocom/core/utils.h b/include/osmocom/core/utils.h index 8928f68..cd22dfb 100644 --- a/include/osmocom/core/utils.h +++ b/include/osmocom/core/utils.h
@@ -128,4 +128,6 @@ const char *osmo_quote_str(const char *str, int in_len); const char *osmo_quote_str_buf(const char *str, int in_len, char *buf, size_t bufsize); +uint32_t osmo_isqrt32(uint32_t x); + /*! @} */