Multiplication over Galois field.
| 29 | |
| 30 | // Multiplication over Galois field. |
| 31 | inline int RSCoder::gfMult(int a,int b) |
| 32 | { |
| 33 | return(a==0 || b == 0 ? 0:gfExp[gfLog[a]+gfLog[b]]); |
| 34 | } |
| 35 | |
| 36 | |
| 37 | // Create the generator polynomial g(x). |
nothing calls this directly
no outgoing calls
no test coverage detected