It's an operation to determine the log over a gf(256) field. Galois fields (hence the fg) are the bread and butter of error correction math. Logs in discreet fields have mathematical properties similar to logs of real numbers but the operations are somewhat
different and can seem strange. For instance 0x3+0x5 == 0x6 in gf(256), "addition" really being xor'ing.