MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / PowSIMD

Function PowSIMD

SourceSDK/public/mathlib/ssemath.h:3128–3131  ·  view source on GitHub ↗

PowSIMD - raise a SIMD register to a power. This is analogous to the C pow() function, with some restictions: fractional exponents are only handled with 2 bits of precision. Basically, fractions of 0,.25,.5, and .75 are handled. PowSIMD(x,.30) will be the same as PowSIMD(x,.25). negative and fractional powers are handled by the SIMD reciprocal and square root approximation instructions and so are

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ComputeLightAtPointsMethod · 0.85

Calls 1

Tested by

no test coverage detected