From 11912050adfa87c0bd1a8495d70c845636d9a037 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Fri, 5 Jan 2018 11:31:22 -0700 Subject: MAINT: Fix incorrect corrections of `half` to `halves`. [ci skip] --- numpy/core/src/npymath/halffloat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/core/src') diff --git a/numpy/core/src/npymath/halffloat.c b/numpy/core/src/npymath/halffloat.c index 9fef2cef7..128d1dbc4 100644 --- a/numpy/core/src/npymath/halffloat.c +++ b/numpy/core/src/npymath/halffloat.c @@ -281,7 +281,7 @@ npy_uint16 npy_floatbits_to_halfbits(npy_uint32 f) if (f_exp <= 0x38000000u) { /* * Signed zeros, subnormal floats, and floats with small - * exponents all convert to signed zero halves. + * exponents all convert to signed zero half-float. */ if (f_exp < 0x33000000u) { #if NPY_HALF_GENERATE_UNDERFLOW @@ -396,7 +396,7 @@ npy_uint16 npy_doublebits_to_halfbits(npy_uint64 d) if (d_exp <= 0x3f00000000000000ULL) { /* * Signed zeros, subnormal floats, and floats with small - * exponents all convert to signed zero halves. + * exponents all convert to signed zero half-float. */ if (d_exp < 0x3e60000000000000ULL) { #if NPY_HALF_GENERATE_UNDERFLOW -- cgit v1.2.1