MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / const_real

Method const_real

crates/rustc_codegen_spirv/src/codegen_cx/constant.rs:166–168  ·  view source on GitHub ↗
(&self, t: Self::Type, val: f64)

Source from the content-addressed store, hash-verified

164 self.constant_u8(DUMMY_SP, i)
165 }
166 fn const_real(&self, t: Self::Type, val: f64) -> Self::Value {
167 self.constant_float(t, val)
168 }
169
170 fn const_str(&self, s: &str) -> (Self::Value, Self::Value) {
171 let len = s.len();

Callers

nothing calls this directly

Calls 1

constant_floatMethod · 0.80

Tested by

no test coverage detected