A modification to the half-interval search (binary search) method

ACM-SE 14 Pub Date : 1976-04-22 DOI:10.1145/503561.503582
L. F. Williams
{"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.
半间隔搜索(二进制搜索)方法的修改
这种对半间隔搜索(二进制搜索)方法的修改在半间隔搜索算法的固定次数迭代内找到最佳计算机零。本文概述了用于将浮点数存储在32位固定长度字段中的计算机的修改。此外,浮点数使用十六进制和24位来存储分数。这个修改是从a和b的连续16次方开始的。即存在一个整数n,使得16n≤a < b≤16n+1或-16n+1≤a < b≤-16n。这决定了x0的特性。然后,对x0的分数的二分搜索可以在24次迭代内完成。如果在搜索中没有找到函数的计算机零,则最后一次迭代的a和b是连续的计算机数,其中f(a)和f(b)具有相反的符号。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信