summaryrefslogtreecommitdiffstats
path: root/src/H5VLnative_token.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-09-14 17:54:00 (GMT)
committerGitHub <noreply@github.com>2023-09-14 17:54:00 (GMT)
commitaa849f07e323e4654ac22dbcd2221d9c8d357486 (patch)
treef7a9f4ec99cbd92ea8d7fb2f57e1838cc71bdd7f /src/H5VLnative_token.c
parentffa4bdac0a686aa00705b72132c5e8948cfee9db (diff)
downloadhdf5-aa849f07e323e4654ac22dbcd2221d9c8d357486.zip
hdf5-aa849f07e323e4654ac22dbcd2221d9c8d357486.tar.gz
hdf5-aa849f07e323e4654ac22dbcd2221d9c8d357486.tar.bz2
Remove HD prefix from math functions (#3538)
Diffstat (limited to 'src/H5VLnative_token.c')
-rw-r--r--src/H5VLnative_token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5VLnative_token.c b/src/H5VLnative_token.c
index e03299e..800858f 100644
--- a/src/H5VLnative_token.c
+++ b/src/H5VLnative_token.c
@@ -107,7 +107,7 @@ H5VL__native_token_to_str(void *obj, H5I_type_t obj_type, const H5O_token_t *tok
if (addr == 0)
addr_ndigits = 1;
else
- addr_ndigits = (size_t)(HDfloor(HDlog10((double)addr)) + 1);
+ addr_ndigits = (size_t)(floor(log10((double)addr)) + 1);
if (NULL == (*token_str = H5MM_malloc(addr_ndigits + 1)))
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, FAIL, "can't allocate buffer for token string");