{"id":835,"date":"2004-05-27T18:36:48","date_gmt":"2004-05-27T22:36:48","guid":{"rendered":"\/?p=835"},"modified":"2004-05-27T18:36:48","modified_gmt":"2004-05-27T22:36:48","slug":"floating-point-arithmetic","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2004\/05\/27\/floating-point-arithmetic\/","title":{"rendered":"Floating-Point Arithmetic"},"content":{"rendered":"<p>\r\n<a href=\"http:\/\/docs.sun.com\/source\/806-3568\/ncg_goldberg.html\">David Goldberg<\/a> (via <a href=\"http:\/\/tancred.com\/malte\/blog\/index.html\">Malte Tancred<\/a>):\r\n<\/p>\r\n\r\n<blockquote cite=\"http:\/\/docs.sun.com\/source\/806-3568\/ncg_goldberg.html\">\r\n<p>\r\nFloating-point arithmetic is considered an esoteric subject by many\r\npeople. This is rather surprising because floating-point is ubiquitous\r\nin computer systems. Almost every language has a floating-point\r\ndatatype; computers from PCs to supercomputers have floating-point\r\naccelerators; most compilers will be called upon to compile\r\nfloating-point algorithms from time to time; and virtually every\r\noperating system must respond to floating-point exceptions such as\r\noverflow. This paper presents a tutorial on those aspects of\r\nfloating-point that have a direct impact on designers of computer\r\nsystems. It begins with background on floating-point representation and\r\nrounding error, continues with a discussion of the IEEE floating-point\r\nstandard, and concludes with numerous examples of how computer builders\r\ncan better support floating-point.\r\n<\/p>\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>David Goldberg (via Malte Tancred): Floating-point arithmetic is considered an esoteric subject by many people. This is rather surprising because floating-point is ubiquitous in computer systems. Almost every language has a floating-point datatype; computers from PCs to supercomputers have floating-point accelerators; most compilers will be called upon to compile floating-point algorithms from time to time; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-835","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=835"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/835\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}