Function lg_ttg_ff reformulation for futur library modification