{"title":"A Unified Root Algorithm in Bignum Arithmetic","authors":"Yiping Cheng, Guizhi Cheng","doi":"10.1109/IAEAC.2018.8577784","DOIUrl":null,"url":null,"abstract":"In bignum arithmetic, the cube root and higherorder root operations are conventionally treated as elementary functions, meaning that for them, correct rounding is not required, usually even without an error bound. In this paper we provide a unified algorithm RootRem to find the (arbitrary-ordered) root of bignums. This algorithm first finds the reciprocal root by using Newton iteration, and then obtains the root through a reciprocal operation. It has guaranteed correct rounding in all cases. RootRem(2), which is to find the square root, is currently found to be less efficient than the existing algorithm SqrtRem proposed by Brent and Zimmermann. However, RootRem(p) with $p\\geq 3$ fill an important theoretical gap and are major improvements over the existing algorithms.","PeriodicalId":6573,"journal":{"name":"2018 IEEE 3rd Advanced Information Technology, Electronic and Automation Control Conference (IAEAC)","volume":"35 1","pages":"527-531"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE 3rd Advanced Information Technology, Electronic and Automation Control Conference (IAEAC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IAEAC.2018.8577784","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In bignum arithmetic, the cube root and higherorder root operations are conventionally treated as elementary functions, meaning that for them, correct rounding is not required, usually even without an error bound. In this paper we provide a unified algorithm RootRem to find the (arbitrary-ordered) root of bignums. This algorithm first finds the reciprocal root by using Newton iteration, and then obtains the root through a reciprocal operation. It has guaranteed correct rounding in all cases. RootRem(2), which is to find the square root, is currently found to be less efficient than the existing algorithm SqrtRem proposed by Brent and Zimmermann. However, RootRem(p) with $p\geq 3$ fill an important theoretical gap and are major improvements over the existing algorithms.