MCPcopy Create free account
hub / github.com/MikeLankamp/fpm / fix16_func2

Function fix16_func2

benchmarks/trigonometry.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19template <Fix16 (Fix16::*func)(const Fix16&) const>
20static Fix16 fix16_func2(Fix16 f, Fix16 y)
21{
22 return (f.*func)(y);
23}
24
25// Constant for our trigonometry function argument.
26// Stored as volatile to force the compiler to read them and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected