Skip to content
0:00 / 0:00

#unum#floating-point#computerarithmetic

"Strength in Numbers: Unums and the Quest for Reliable Arithmetic" by Ferris Ellis

Strange Loop Conference

88K subscribers • 114 videos on Hallway • Conference channel

YouTube
  • Recommended by 1 person: 1 on Lobsters.
  • Presented by Ferris Ellis

Intermediate. Assumes working knowledge.

3.3K views9 years ago1 recommendation

Computer scienceSystems programmingMath for programmersPerformance and optimizationRust

Ferris Ellis introduces universal numbers as an alternative to floating-point arithmetic, comparing their benefits and pitfalls using Rust examples.

In the land of computer arithmetic, a tyrant has ruled since its very beginning: the floating point number. Under its rule we have all endured countless hardships and cruelties. To this very day the floating point number still denies 0.1 + 0.2 == 0.3 and returns insidious infinities to software developers everywhere. But a new hero has entered fray: the universal number (unum). Can it topple the float number system and its century long reign? This talk will introduce unums, explain their benefits over floating point numbers, and examine multiple real world examples comparing the two. For those not familiar with floating point numbers and their pitfalls, this talk also includes a primer on the topic. Code examples are in Rust, though strong knowledge of the language is not needed. Ferris Ellis APPLE Ferris Ellis thinks a lot about efficiency, intention, and utopias. He also writes on the matter, and other topics, on his website. He has a formal education in mathematics and physics, and still isn't sure how exactly he learned software engineering. Ferris believes software must be viewed from both a human and scientific lens to be effective. He spends his time writing software that attempts to simplify problems, often using Clojure or Rust to do so.

Why it's here

1 person recommends this

What people say. Recommended as a great introduction to the limitations of floating-point numbers and the design of the unum format.

grahamcon Lobsters • Recommends

Unums and the Quest for Reliable Arithmetic