MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / apply_twice

Function apply_twice

tests/binary/fn_pointers/src/main.rs:69–71  ·  view source on GitHub ↗
(f: fn(f64) -> f64, x: f64)

Source from the content-addressed store, hash-verified

67}
68
69fn apply_twice(f: fn(f64) -> f64, x: f64) -> f64 {
70 f(f(x))
71}
72
73fn choose_curve(which: i32) -> fn(f64) -> f64 {
74 if which == 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected