summaryrefslogtreecommitdiffstats
path: root/regress/eqn/unary/sqrt.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-06 00:19:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-06 00:19:54 +0000
commit8bfd46f38d1b15589e5ffa8b44915557a3030385 (patch)
tree02789eb4144757c270da344ddd007d37cb15d92a /regress/eqn/unary/sqrt.in
parente0015d9facf740a96124938363ba25c3b6c09af8 (diff)
downloadmandoc-8bfd46f38d1b15589e5ffa8b44915557a3030385.tar.gz
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@.
Diffstat (limited to 'regress/eqn/unary/sqrt.in')
-rw-r--r--regress/eqn/unary/sqrt.in4
1 files changed, 2 insertions, 2 deletions
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