Landing: da540dc6d763
Project / Subsystem
gcc / libstdc++
Date
2026-05-13
Author
Tomasz Kamiński
Commit
da540dc6d7634a708768008d23b3cee9110a7121
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- da540dc6d7634a708768008d23b3cee9110a7121
- source_type
- github
- headline
- Libstdc++: Add test for unsupported engine range for 128-bit floats.
- tldr
- This change adds a test case to libstdc++ to verify that `std::generate_canonical` does not support certain non-power-of-two ranges when used with 128-bit floa…
- author
- Tomasz Kamiński
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • test
- • floating-point
- • random
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-13T00:00:00.000Z
This commit adds a test case to libstdc++ that checks the behavior of std::generate_canonical when used with 128-bit floating-point numbers. The test confirms that generators producing ranges of non-power-of-two sizes that span specific bit lengths are not supported. This limitation arises because the required intermediate integer calculations would exceed 128 bits, necessitating 256-bit integer support.