Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

An Introduction to Floating Point Math

NDC Conferences via YouTube

Overview

Explore the intricacies of floating-point mathematics in this 45-minute conference talk from NDC TechTown 2022. Delve into the fundamentals of IEEE 754 floating-point numbers, including their representation and correlation to scientific notation. Gain insights into the limitations and potential errors associated with floating-point math in programming. Learn effective techniques for comparing floating-point numbers and understand the nuances of guaranteed results in mathematical operations. Examine scenarios where conventional understanding of floating-point math may falter, such as cross-platform C++ development and varying contexts. Conclude with a comprehensive overview of notable catch cases, limitations, and platform-specific considerations in floating-point arithmetic.

Syllabus

Introduction
Contents
Why are floats weird
Scientific notation
Relative difference
Decimal flows
Rounding
Recap
Guaranteed Results
Multiplication
Comparison
Bitwise Comparison
Direct Comparison
Absolute Margin
Relative Margin
Distance
Relative Distance
Summary
Notable Catch 2
Limitations
IEEE platforms
Languages
Go
C
C compilation flags
External code
Questions

Taught by

NDC Conferences

Reviews

Start your review of An Introduction to Floating Point Math

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.