MCPcopy Create free account
hub / github.com/anjo76/angelscript / powf_generic

Function powf_generic

sdk/add_on/scriptmath/scriptmath.cpp:251–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249GENERICff(fractionf)
250
251void powf_generic(asIScriptGeneric *gen)
252{
253 float f1 = *(float*)gen->GetAddressOfArg(0);
254 float f2 = *(float*)gen->GetAddressOfArg(1);
255 *(float*)gen->GetAddressOfReturnLocation() = powf(f1, f2);
256}
257void atan2f_generic(asIScriptGeneric *gen)
258{
259 float f1 = *(float*)gen->GetAddressOfArg(0);

Callers

nothing calls this directly

Calls 3

powfFunction · 0.85
GetAddressOfArgMethod · 0.45

Tested by

no test coverage detected