diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-09-14 17:54:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 17:54:00 (GMT) |
commit | aa849f07e323e4654ac22dbcd2221d9c8d357486 (patch) | |
tree | f7a9f4ec99cbd92ea8d7fb2f57e1838cc71bdd7f /src/H5VLnative_token.c | |
parent | ffa4bdac0a686aa00705b72132c5e8948cfee9db (diff) | |
download | hdf5-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.c | 2 |
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"); |