On Monday, 1 June 2015 at 22:24:31 UTC, John Colvin wrote:
Nonetheless, surely in this case the values should be the same regardless of the integer target type, no?
Not sure... the spec says that the compiler is allowed to do intermediate computations at higher precision, but it doesn't say it is required to. So, strictly speaking, its at the compiler's discretion to use higher precision when rounding to `int` than when rounding to `ulong`...
