From 8bfd46f38d1b15589e5ffa8b44915557a3030385 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 6 Jul 2017 00:19:54 +0000 Subject: Fix operator precedence according to Brian W. Kernighan and Lorinda L. Cherry, "Typesetting Mathematics - User's Guide (Second Edition)", August 15, 1978, paragraph 23; swarm of bugs pointed out by bentley@. --- regress/eqn/unary/sqrt.out_ascii | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'regress/eqn/unary/sqrt.out_ascii') diff --git a/regress/eqn/unary/sqrt.out_ascii b/regress/eqn/unary/sqrt.out_ascii index 607a6013..72b7047d 100644 --- a/regress/eqn/unary/sqrt.out_ascii +++ b/regress/eqn/unary/sqrt.out_ascii @@ -4,6 +4,7 @@ NNAAMMEE uunnaarryy--ssqqrrtt - square root DDEESSCCRRIIPPTTIIOONN - initial text _r = sqrt(_x^2 + _y^2) + sqrt(_a + _b) + sqrt() + sqrt final text + initial text _r = sqrt(_x^2 + _y^2) + sqrt(_a + _b) + sqrt(_x^) + sqrt() + sqrt + final text -OpenBSD July 4, 2017 OpenBSD +OpenBSD July 6, 2017 OpenBSD -- cgit