extended field arithmetic