Fix the documentation comment of checkint in powf

checkint in powf is not supposed to be used with 0, inf or nan inputs.

	* sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
This commit is contained in:
Szabolcs Nagy 2018-09-19 10:09:41 +01:00
parent 424c4f60ed
commit d734727837
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
* NEWS: Mention pow improvements.

View File

@ -118,7 +118,8 @@ exp2_inline (double_t xd, uint32_t sign_bias)
return y;
}
/* Returns 0 if not int, 1 if odd int, 2 if even int. */
/* Returns 0 if not int, 1 if odd int, 2 if even int. The argument is
the bit representation of a non-zero finite floating-point value. */
static inline int
checkint (uint32_t iy)
{