diff --git a/include/rvvlm_fp.inc.h b/include/rvvlm_fp.inc.h index 86d2a9d..a8bf49b 100644 --- a/include/rvvlm_fp.inc.h +++ b/include/rvvlm_fp.inc.h @@ -227,12 +227,6 @@ static const double fp_posInf = __builtin_inf(); static const double fp_negInf = -__builtin_inf(); static const double fp_negZero = -0.; -static const union sui64_fp64 SNAN = {fp_sNaN}; -static const union sui64_fp64 QNAN = {fp_qNaN}; -static const union sui64_fp64 PINF = {fp_posInf}; -static const union sui64_fp64 NINF = {fp_negInf}; -static const union sui64_fp64 NEGZERO = {fp_negZero}; - static const double fp_posZero = 0.0; static const double fp_posOne = 0x1.0p0; static const double fp_negOne = -0x1.0p0; diff --git a/include/rvvlm_lgammaD.inc.h b/include/rvvlm_lgammaD.inc.h index 7c01c6b..9b66e14 100644 --- a/include/rvvlm_lgammaD.inc.h +++ b/include/rvvlm_lgammaD.inc.h @@ -480,7 +480,7 @@ } while (0) void F_VER1(API) { - size_t vlen; + size_t vlen = VSET(_inarg_n); VFLOAT vx, vx_orig, vy, vy_special; VBOOL special_args; VFLOAT zero = VFMV_VF(fp_posZero, vlen);