1. A method for determining a table output of a table representing a hierarchical tree, comprising: determining, by one or more processors, an address from a portion of a table input; selecting, by the one or more processors, a subset of a memory according to the address, the memory representing the hierarchical tree for an integer valued function, the subset representing a subtree of the hierarchical tree; selecting, by the one or more processors, a plurality of bit fields from the subset; extracting, by the one or more processors, a plurality of bits from the plurality of bit fields; and determining, by the one or more processors, the table output from the extracted bits.