the #dotnet 9+ fp-to-integer breaking changes causing grief at work again today.
Floating point-to-integer conversions now have saturating behavior on x86 and x64 machines. Saturating behavior means that if the converted value is too small or large for the target type, the value is set to the minimum or maximum value, respectively, for that type.
https://learn.microsoft.com/en-us/dotnet/core/compatibility/jit/9.0/fp-to-integer
