We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b2486 commit a9e5cdfCopy full SHA for a9e5cdf
ci-test.sh
@@ -1,6 +1,9 @@
1
#!/bin/bash
2
set -euo pipefail
3
4
+rustc gamma.rs && ./gamma
5
+exit 1
6
+
7
DEFAULTFLAGS="-Zrandomize-layout -Zmiri-strict-provenance"
8
9
# make sure we keep using the current toolchain even in subdirs that have a toolchain file
gamma.rs
@@ -0,0 +1,5 @@
+#![feature(float_gamma)]
+fn main() {
+ dbg!(std::hint::black_box(-0.5f32).gamma());
+}
0 commit comments