From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <52607cb8b4723e1490f67b6451fc4ef5@felloff.net> References: <52607cb8b4723e1490f67b6451fc4ef5@felloff.net> Date: Sun, 13 Sep 2015 19:33:45 +0100 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=14dae9cc92d86b208d051fa53025 Subject: Re: [9fans] kenc vlong double Topicbox-Message-UUID: 6a5cbe5c-ead9-11e9-9d60-3106f5b1d025 --14dae9cc92d86b208d051fa53025 Content-Type: text/plain; charset=UTF-8 On 13 September 2015 at 19:01, wrote: > just assigning t to n->type fixes the type, but why did it > call arith() in the first place? > for P += I, P -= I, and other more straightforward cases of mixed-modes, you need "the usual arithmetic conversions" first. --14dae9cc92d86b208d051fa53025 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 13 September 2015 at 19:01, <cinap_lenrek@felloff.net> wrote:
just assigning t to n->type fixes the type,= but why did it
call arith() in the first place?

for P +=3D I, = P -=3D I, and other more straightforward cases of mixed-modes, you need &qu= ot;the usual arithmetic conversions" first.
--14dae9cc92d86b208d051fa53025--