8000 Update expoennt to exponent to match member name. by deployable · Pull Request #825 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

Update expoennt to exponent to match member name. #825

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

Closed
wants to merge 1 commit into from
Closed
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
Update expoennt to exponent to match member name.
`expoennt` was causing a bigdecimal build to fail with:

    bigdecimal.c: In function âVpSetPTRâ:
    bigdecimal.c:4421:5: error: âRealâ has no member named âexpoenntâ
  • Loading branch information
deployable committed Feb 3, 2015
commit 0209563f3979cde5f9f404d99fb5557cb07c364a
2 changes: 1 addition & 1 deletion ext/bigdecimal/bigdecimal.c
Original file line number Diff line number Diff line change
Expand Up @@ -4453,7 +4453,7 @@ VpSetPTR(Real *a, Real *b, Real *c, size_t *a_pos, size_t *b_pos, size_t *c_pos,

size_t const round_limit = (VpGetPrecLimit() + BASE_FIG - 1) / BASE_FIG;

assert(a->exponent >= b->expoennt);
assert(a->exponent >= b->exponent);

c->frac[0] = 0;
*av = *bv = 0;
Expand Down
0