mixed type elementary functions