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