MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / gfInv

Method gfInv

Libraries/unrar/rs16.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68uint RSCoder16::gfInv(uint a) // Inverse element in Galois field.
69{
70 return a==0 ? 0:gfExp[gfSize-gfLog[a]];
71}
72
73
74bool RSCoder16::Init(uint DataCount, uint RecCount, bool *ValidityFlags)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected