Guillaume Lathoud wrote:
this is UB. by the specs, values are promoted to int, and shifting int by 50 is UB. so both results are nonsense.
ketmar via Digitalmars-d-learn Thu, 20 Sep 2018 04:10:43 -0700
Guillaume Lathoud wrote:
this is UB. by the specs, values are promoted to int, and shifting int by 50 is UB. so both results are nonsense.