在 2019/7/31 上午5:07, Martin Storsjö 写道: > Signed-off-by: Martin Storsjö <[email protected]> > --- > mingw-w64-crt/math/lgammaf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >
Thanks for your impressive work. These patches look good to me.
---
BTW:
> + if (signbit(x))
> + return -HUGE_VAL;
> + else
> + return HUGE_VAL;
If I were you I would write it as
return copysign(HUGE_VAL, x);
anyway the difference is trivial.
--
Best regards,
LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
