Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix use of uninitialized variable and removed wrong and unused constants #32

Merged
merged 3 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions include/rvvlm_fp.inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion include/rvvlm_lgammaD.inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading