For regular IF any double 6 even if under casting value = Cast.
For Teclis and the HElf item you need to match casting value but any double + match = IF.
i.e if you needed 14 and rolled 5,5,4 you'd get IF. You WOULDN'T if you rolled 5,4,4, as you only score 13.