Skip to content

Add missing cmath header - #1100

Merged
Strilanc merged 3 commits into
quantumlib:mainfrom
rupprecht:cmath-header
Sep 22, 2026
Merged

Strilanc merged 3 commits into
quantumlib:mainfrom
rupprecht:cmath-header

Conversation

@rupprecht

Copy link
Copy Markdown
Contributor

When using libc++ after llvm/llvm-project@ada3786, #include <random> does not imply #include <cmath>, so we need to directly import it to avoid breakages due to the use of floorf.

@Strilanc
Strilanc enabled auto-merge (squash) September 22, 2026 00:30
@Strilanc
Strilanc merged commit 131793e into quantumlib:main Sep 22, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants