[PATCH 3/3] Add new pow implementation

Joseph Myers joseph@codesourcery.com
Mon Sep 17 22:19:00 GMT 2018


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



More information about the Libc-alpha mailing list