diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-09-06 12:56:19 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-09-06 13:00:08 -0300 |
commit | 3c0bc3ed09ff7ce13524bab5ddb760b363640a1e (patch) | |
tree | 4ee2a0bda3ad0879996647e5860bc2e38a858936 /locale | |
parent | 742b35228f3efa25d41d14f27c8911f308514b28 (diff) | |
download | glibc-3c0bc3ed09ff7ce13524bab5ddb760b363640a1e.tar.gz glibc-3c0bc3ed09ff7ce13524bab5ddb760b363640a1e.tar.xz glibc-3c0bc3ed09ff7ce13524bab5ddb760b363640a1e.zip |
stdio: Remove __printf_fp_buffer_1 alloca usage
The function is refactored so double and long double / Float128 have different stack allocations. For double, allocating the maximum required size for all possible inputs requires about ~480 bytes, so the memory is allocated on the stack. The long double / _Float128 requires about 6240 bytes, so a stratch_buffer is used instead.
Diffstat (limited to 'locale')
0 files changed, 0 insertions, 0 deletions