This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/3] Add new pow implementation
On Tue, 11 Sep 2018, Szabolcs Nagy wrote:
> +/* Returns 0 if not int, 1 if odd int, 2 if even int. */
> +static inline int
> +checkint (uint64_t iy)
The comment needs to explain that this function is not called with an
argument representing floating-point 0, Inf or NaN (since it wouldn't be
correct for 0 at least).
OK with that change.
--
Joseph S. Myers
joseph@codesourcery.com