Get the latest tech news

A brief introduction to interval arithmetic


Why x^2 isn't always x*x.

It works kinda like multiplication, except if the dividing interval spans 0, the result is undefined. While a bunch of FP computations will always give you an exact number, but it could be very far from the actual answer. The father of the IEEE-754 standard, William Kahan, wrote an essay about why interval arithmetic can't replace FP.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of interval arithmetic

interval arithmetic

Photo of brief introduction

brief introduction