Fix the documentation comment of checkint
checkint in pow is not supposed to be used with 0, inf or nan inputs.
This commit is contained in:
parent
e3ddbeb84c
commit
877a386d76
|
@ -268,7 +268,8 @@ exp_inline (double x, double xtail, uint32_t sign_bias)
|
||||||
return scale + scale * tmp;
|
return scale + scale * tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 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
|
static inline int
|
||||||
checkint (uint64_t iy)
|
checkint (uint64_t iy)
|
||||||
{
|
{
|
||||||
|
|
|
@ -127,7 +127,8 @@ exp2_inline (double_t xd, uint32_t sign_bias)
|
||||||
return y;
|
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
|
static inline int
|
||||||
checkint (uint32_t iy)
|
checkint (uint32_t iy)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue