8000 dtoa.c: Use an on-stack buffer for small bigints by jhawthorn · Pull Request #13234 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

dtoa.c: Use an on-stack buffer for small bigints #13234

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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Use int for wds again
Truth is, I don't know how large this is
  • Loading branch information
jhawthorn committed Apr 18, 2025
commit e02cfa061ca3cc3fa92e5c2e6034f9f8dfc394bc
5 changes: 2 additions & 3 deletions missing/dtoa.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,10 +501,9 @@ extern double rnd_prod(double, double), rnd_quot(double, double);
#define Kmax 15

struct Bigint {
unsigned short wds;
int wds;
unsigned char k;
unsigned int sign : 1;
unsigned int stackbuf_pos : 4;
int sign : 1;
ULong x[1];
};

Expand Down
Loading
0