Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 47f2333

Browse files
committed
Fix math containing %!!!
1 parent 696f911 commit 47f2333

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/ref.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,10 @@ \section{Terms}
503503
The \verb|'%'| operator yields the remainder from the division
504504
of the first argument by the second.
505505
The numeric arguments are first converted to a common type.
506-
The outcome of $x % y$ is defined as $x - y*trunc(x/y)$.
506+
The outcome of $x \% y$ is defined as $x - y*trunc(x/y)$.
507507
A zero right argument raises a {\tt RuntimeError} exception.
508508
The arguments may be floating point numbers, e.g.,
509-
$3.14 % 0.7$ equals $0.34$.
509+
$3.14 \% 0.7$ equals $0.34$.
510510

511511
\section{Arithmetic expressions}
512512

Doc/ref/ref.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,10 @@ \section{Terms}
503503
The \verb|'%'| operator yields the remainder from the division
504504
of the first argument by the second.
505505
The numeric arguments are first converted to a common type.
506-
The outcome of $x % y$ is defined as $x - y*trunc(x/y)$.
506+
The outcome of $x \% y$ is defined as $x - y*trunc(x/y)$.
507507
A zero right argument raises a {\tt RuntimeError} exception.
508508
The arguments may be floating point numbers, e.g.,
509-
$3.14 % 0.7$ equals $0.34$.
509+
$3.14 \% 0.7$ equals $0.34$.
510510

511511
\section{Arithmetic expressions}
512512

0 commit comments

Comments
 (0)