Floating-point

Will it float?

A way for computer to represent real numbers. The standard format is the IEEE 754 and it's the one this page care about. The format data in a number is split into three parts.

sign: Always a single bit.

exponent

significand

There are three common sizes of numbers.

Single (float): 32 bit.

Double (double): 64 bit.

Special values:

- Zero

- Infinity

- NaN

Reference

Floating-Point Formats Cheatsheet

http://asawicki.info/news_1541_floating-point_formats_cheatsheet.html

Demystifying Floating Point Precision - 2017

Making floating point numbers smaller

Reverse Z Cheat Sheet

Fixing Camera Shake on Single Precision GPUs

Demystifying Floating Point Precision - 2017

https://blog.demofox.org/2017/11/21/floating-point-precision/

Quantizing floats

https://zeux.io/2010/12/14/quantizing-floats/