loadCircCell = takeLoadCircCell (circCell);
inputSlewDeg = takeCircSlew(circSlew) + limSlew(takeInputCell(circCell);
libSlewDeg (circCell, loadCircCell, inputSlewDeg) {
while (*arcLibCell = iterator.getnext()) {
    slew/delayArcVector = getTimingArcSlew/Delay(libCell);
    }
}
Algorithm 4: Pseudocode of libSlewDeg calculation.