C++ · Variables, types and arithmetic

Doubles are close, not exact

A double printed as 0.3 may not be 0.3, which matters the moment a program compares two measurements.