在 2020/11/13 下午5:44, Martin Storsjö 写道: > These routines are used on msvcrt.dll on arm, which only provides > log(). For exact powers of two, produce an exact result instead > of one that only is numerically close. > > Defer to the normal implementation for anything other than the > simple cases (negative values, denormals, infinities, etc). > > Signed-off-by: Martin Storsjö <mar...@martin.st> > --- > Added a cast to int before returning the adjusted exponent as a > float. > --- > mingw-w64-crt/math/arm-common/log2.c | 29 ++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > >
LGTM. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public