On 2021-03-24 10:56 a.m., Bart Schaefer wrote:
So it's procedural rather than deliberate/designed. It's not hard to cope with still I'd vote to correct it -- one of those things where a look ahead could sorta say that if the lvalue is float, then all subsequent arithmetic will beOn Wed, Mar 24, 2021 at 10:20 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:Why are answers dumbed down like that?Every subexpression is considered independently, so float conversion doesn't take place until the assignment is evaluated. The type of the lvalue does not propagate across every rvalue.
float. Or not worth the trouble, it's easy enough to work around.