Skip to content

xAODCore: Fix undefined shift.

Scott Snyder requested to merge ssnyder/athena:shift.xAODCore-20200301 into master

If m_mantissaBits is 23, then the shift here

      m_rounding = 0x1 << ( 32 - (1 + 8 + m_mantissaBits) - 1 );

is -1. This is undefined and gets an ubsan warning.

Try to fix.

Merge request reports