在 2019/4/15 下午11:17, Martin Storsjö 写道: > On Mon, 15 Apr 2019, Liu Hao wrote: > >> 在 2019/4/15 20:52, Martin Storsjö 写道: >> >> This should be `if (x >= 1 || x <= -1)`. > > No, according to the doc I read, 1 or -1 should return inf/-inf, not > nan. The default code below achieves that. > > // Martin > >
Oh you are right. Sorry for the misinformation. -- 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
