diff --git a/examples/C/format.c b/examples/C/format.c index 40413dbe3..3ffeb68eb 100644 --- a/examples/C/format.c +++ b/examples/C/format.c @@ -45,7 +45,7 @@ main() /* Create a bunch of phoney data so we have something to write in the example file. */ for (fp=(float *)temp, i=0; i 0.0f) != (v2 > 0.0f)) /* avoid overflow */ + if((v1 > 0.0F) != (v2 > 0.0F)) /* avoid overflow */ return false; if(isfinite(v1) && isfinite(v2)) return (absval(v1 - v2) <= absval(float_eps * v2)) ; diff --git a/ncdump/nccopy.c b/ncdump/nccopy.c index a369f3bdf..f15920fe8 100644 --- a/ncdump/nccopy.c +++ b/ncdump/nccopy.c @@ -39,7 +39,7 @@ /* default bytes of memory we are willing to allocate for variable * values during copy */ #define COPY_BUFFER_SIZE (5000000) -#define COPY_CHUNKCACHE_PREEMPTION (1.0f) /* for copying, can eject fully read chunks */ +#define COPY_CHUNKCACHE_PREEMPTION (1.0F) /* for copying, can eject fully read chunks */ #define SAME_AS_INPUT (-1) /* default, if kind not specified */ #define CHUNK_THRESHOLD (8192) /* non-record variables with fewer bytes don't get chunked */ @@ -484,7 +484,7 @@ inq_var_chunking_params(int igrp, int ivarid, int ogrp, int ovarid, if(icontig == NC_CHUNKED && ocontig != NC_CHUNKED) { /* chunking only in input */ *chunkcache_nelemsp = 1; /* read one input chunk at a time */ *chunkcache_sizep = iprod; - *chunkcache_preemptionp = 1.0f; + *chunkcache_preemptionp = 1.0F; return stat; } diff --git a/ncdump/ncdump.c b/ncdump/ncdump.c index cd9e35f3b..15bc9d01c 100644 --- a/ncdump/ncdump.c +++ b/ncdump/ncdump.c @@ -604,7 +604,7 @@ pr_att_valgs( if(isnan(ff)) { printf("NaNf%s", delim); } else if(isinf(ff)) { - if(ff < 0.0f) { + if(ff < 0.0F) { printf("-"); } printf("Infinityf%s", delim); diff --git a/plugins/H5Zdeflate.c b/plugins/H5Zdeflate.c index 93a637ef1..31726408e 100644 --- a/plugins/H5Zdeflate.c +++ b/plugins/H5Zdeflate.c @@ -54,7 +54,7 @@ H5PLget_plugin_info(void) } -#define H5Z_DEFLATE_SIZE_ADJUST(s) (HDceil(((double)(s)) * (double)1.001f) + 12) +#define H5Z_DEFLATE_SIZE_ADJUST(s) (HDceil(((double)(s)) * (double)1.001F) + 12) /*-------------------------------------------------------------------------