Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21bf5efefb9ee28

Jump to content

Talk:Infix notation

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 8 years ago by 2A02:8388:1603:CB00:D127:6107:A96E:296A in topic History

Note that these rules are still ambiguous...

Is

1 - 2 - 3

equal to

1 - (2 - 3) = 2

or

(1 - 2) - 3 = -4

?

The convention is either to evaluate left to right or right to left, but I don't recall which. Salsa Shark 08:30 Mar 20, 2003 (UTC)
..only if you're illiterate. The former distributes the sign to other signs, which isn't at all told by the first expression. lysdexia 09:54, 24 Oct 2004 (UTC)
Wow, stupidity. Salsa Shark, did you pass junior school math.? When expanded, the first option becomes . To get the originial expression, you need to use . if you understand that a number without a sign is considered to be positive, then the expression could be re-written as . the order which the later terms are operated is irrelevant in this caae, since hey are of equal precedence. In general, however, it is normal to evaluate terms from left to right

History

[edit]

It would be nice if the article could briefly add when infix was coined as term, and first appeared as well. 2A02:8388:1603:CB00:D127:6107:A96E:296A (talk) 07:23, 11 April 2018 (UTC)Reply