The Array Cast cover image

Raul Miller - Precision

The Array Cast

00:00

The Difference Between a Rational Type and a Fixed Point Type

There's an actual type that exists in every language called a fixed point type which is a floating point type represented by an integer. I only know all about this because I had to implement it for an NVIDIA library and like Part of that was doing like a month long research of all the existing implementations, rounding behavior and stuff. You do all the conversions so like you store it as an integer but like $1.23 is stored internally as the integer 123 so you never end up with Like the floating points addition like the those problems  that being said you still do inherent inherit some of the problems of floating point numbers.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app