mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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:
parent
424c4f60ed
commit
d734727837
@ -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.
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user