diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2018-01-05 11:36:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-05 11:36:21 -0700 |
| commit | 61dc72a1dcc0136c45375beacab23728f8339538 (patch) | |
| tree | 10c6f710f768c0b8f1c27c7980904fd930931467 /numpy/core/src | |
| parent | 11912050adfa87c0bd1a8495d70c845636d9a037 (diff) | |
| download | numpy-61dc72a1dcc0136c45375beacab23728f8339538.tar.gz | |
MAINT: Change `half-float` to `half-floats`.
[ci skip]
Diffstat (limited to 'numpy/core/src')
| -rw-r--r-- | numpy/core/src/npymath/halffloat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/npymath/halffloat.c b/numpy/core/src/npymath/halffloat.c index 128d1dbc4..c2bd28d60 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 half-float. + * exponents all convert to signed zero half-floats. */ 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 half-float. + * exponents all convert to signed zero half-floats. */ if (d_exp < 0x3e60000000000000ULL) { #if NPY_HALF_GENERATE_UNDERFLOW |
