Delphi / Object Pascal · Exception

Runtime Error 206: EUnderflow (floating point underflow)

What does Runtime Error 206: EUnderflow (floating point underflow) mean in Delphi / Object Pascal?

A floating-point calculation produced a result with a magnitude smaller than the type can represent, typically rounding to zero.

Runtime Error 206: EUnderflow (floating point underflow)Delphi (VCL) · Delphi (FireMonkey)

Condition

A floating-point calculation produced a result with a magnitude smaller than the type can represent, typically rounding to zero.

Fix

Usually harmless if a near-zero result is acceptable; if it isn't, check for a division by an unexpectedly large value or repeated multiplication by values less than one.

Pending source verification. Not yet checked against official documentation.

Related exception