summaryrefslogtreecommitdiffstats
path: root/src/H5timer.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/H5timer.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/H5timer.c')
-rw-r--r--src/H5timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5timer.c b/src/H5timer.c
index c1adf43..dcb3dbc 100644
--- a/src/H5timer.c
+++ b/src/H5timer.c
@@ -568,15 +568,15 @@ H5_timer_get_time_string(double seconds)
remainder_sec = seconds;
/* Extract days */
- days = HDfloor(remainder_sec / H5_SEC_PER_DAY);
+ days = floor(remainder_sec / H5_SEC_PER_DAY);
remainder_sec -= (days * H5_SEC_PER_DAY);
/* Extract hours */
- hours = HDfloor(remainder_sec / H5_SEC_PER_HOUR);
+ hours = floor(remainder_sec / H5_SEC_PER_HOUR);
remainder_sec -= (hours * H5_SEC_PER_HOUR);
/* Extract minutes */
- minutes = HDfloor(remainder_sec / H5_SEC_PER_MIN);
+ minutes = floor(remainder_sec / H5_SEC_PER_MIN);
remainder_sec -= (minutes * H5_SEC_PER_MIN);
/* The # of seconds left is in remainder_sec */