summaryrefslogtreecommitdiffstats
path: root/test/dt_arith.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-05-07 16:45:05 (GMT)
committerGitHub <noreply@github.com>2021-05-07 16:45:05 (GMT)
commit9023e98940d959aa974e655cc383fab0b0ed663c (patch)
tree8cad5bb35e1385c7a267319f4baf688d0efade63 /test/dt_arith.c
parent1e572b18e3c271f9de045a6b61e3c855779e7c58 (diff)
downloadhdf5-9023e98940d959aa974e655cc383fab0b0ed663c.zip
hdf5-9023e98940d959aa974e655cc383fab0b0ed663c.tar.gz
hdf5-9023e98940d959aa974e655cc383fab0b0ed663c.tar.bz2
Removes gratuitous (double)x.yF casts (#632)
* Committing clang-format changes * Removes gratuitous (double)x.yF casts * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/dt_arith.c')
-rw-r--r--test/dt_arith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index ddc8814..7b79102 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -3232,7 +3232,7 @@ test_conv_flt_1(const char *name, int run_test, hid_t src, hid_t dst)
int expo_diff = check_expo[0] - check_expo[1];
int valid_bits =
(int)((dst_ebias + dst_msize) + (size_t)MIN(check_expo[0], check_expo[1])) - 1;
- double epsilon = 1.0F;
+ double epsilon = 1.0;
/* Re-scale the mantissas based on any exponent difference */
if (expo_diff != 0)