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.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress/eqn/unary/sqrt.in') diff --git a/regress/eqn/unary/sqrt.in b/regress/eqn/unary/sqrt.in index 41086285..3bf9da4c 100644 --- a/regress/eqn/unary/sqrt.in +++ b/regress/eqn/unary/sqrt.in @@ -1,4 +1,4 @@ -.\" $OpenBSD: sqrt.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.\" $OpenBSD: sqrt.in,v 1.5 2017/07/06 00:08:52 schwarze Exp $ .Dd $Mdocdate$ .Dt UNARY-SQRT 1 .Os @@ -8,6 +8,6 @@ .Sh DESCRIPTION initial text .EQ -r = sqrt { x sup 2 + y sup 2 } + sqrt a+b + sqrt { } + sqrt +r = sqrt { x sup 2 + y sup 2 } + sqrt a+b + sqrt x hat + sqrt { } + sqrt .EN final text -- cgit