Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: forcing float arithmetic.



On 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.




Messages sorted by: Reverse Date, Date, Thread, Author