{"title":"A modification to the half-interval search (binary search) method","authors":"L. F. Williams","doi":"10.1145/503561.503582","DOIUrl":null,"url":null,"abstract":"This modification to the half-interval search (binary search) method finds the best computer zero within a fixed number of iterations of the half-interval search algorithm.The paper outlines the modification for use with a computer where floating-point numbers are stored in a fixed length field of thirty-two bits. Also, the floating-point numbers are represented using a hexidecimal base and twenty-four bits to store the fraction.The modification has to do with initially starting with a and b within consecutive powers of sixteen. That is, there exists an integer n such that16n ≤ a < b ≤ 16n+1 or -16n+1 ≤ a < b ≤ -16n. This determines the characteristic of x0. Then a binary search for the fraction of x0 can be completed within twenty-four iterations. If a computer zero of the function is not found in the search, then the a and b of the last iteration are consecutive computer numbers with f(a) and f(b) having opposite signs.","PeriodicalId":151957,"journal":{"name":"ACM-SE 14","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1976-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"53","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 14","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/503561.503582","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 53
Abstract
This modification to the half-interval search (binary search) method finds the best computer zero within a fixed number of iterations of the half-interval search algorithm.The paper outlines the modification for use with a computer where floating-point numbers are stored in a fixed length field of thirty-two bits. Also, the floating-point numbers are represented using a hexidecimal base and twenty-four bits to store the fraction.The modification has to do with initially starting with a and b within consecutive powers of sixteen. That is, there exists an integer n such that16n ≤ a < b ≤ 16n+1 or -16n+1 ≤ a < b ≤ -16n. This determines the characteristic of x0. Then a binary search for the fraction of x0 can be completed within twenty-four iterations. If a computer zero of the function is not found in the search, then the a and b of the last iteration are consecutive computer numbers with f(a) and f(b) having opposite signs.