1\version "2.21.4"
2
3\header {
4  texidoc = "Using @code{\override Beam.damping = #+inf.0} should
5  always make beams horizontal.  A threshold is implemented to avoid
6  rounding errors that would cause non-horizontal beams otherwise.
7
8  Here, the beam should be horizontal."
9}
10
11#(set-global-staff-size 40)
12
13\new Voice \relative c''' {
14  \override Beam.damping = #+inf.0
15  \assertBeamSlope #=
16  a16 c d g,
17}
18