Template:LaTeX operators/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
m De-escape
Line 12: Line 12:
! You type !! You get
! You type !! You get
|-
|-
| <code>floor</code> || <code>{{nowrap|\floor{{(}}x + y{{)}}}}</code> || <math>\floor{x + y}</math> || Floor (round down)
| <code>floor</code> || <code>{{nowrap|<nowiki>\floor{x + y}</nowiki>}}</code> || <math>\floor{x + y}</math> || Floor (round down)
|-
|-
| <code>ceil</code> || <code>{{nowrap|\ceil{{(}}x + y{{)}}}}</code> || <math>\ceil{x + y}</math> || Ceiling (round up)
| <code>ceil</code> || <code>{{nowrap|<nowiki>\ceil{x + y}</nowiki>}}</code> || <math>\ceil{x + y}</math> || Ceiling (round up)
|-
|-
| <code>abs</code> || <code>{{nowrap|\abs{{(}}x + y{{)}}}}</code> || <math>\abs{x + y}</math> || Absolute value (magnitude)
| <code>abs</code> || <code>{{nowrap|<nowiki>\abs{x + y}</nowiki>}}</code> || <math>\abs{x + y}</math> || Absolute value (magnitude)
|-
|-
| <code>norm</code> || <code>{{nowrap|\norm{{(}}x + y{{)}}}}</code> || <math>\norm{x + y}</math> || Norm (magnitude)
| <code>norm</code> || <code>{{nowrap|<nowiki>\norm{x + y}</nowiki>}}</code> || <math>\norm{x + y}</math> || Norm (magnitude)
|-
|-
| <code>round</code> || <code>{{nowrap|\round{{(}}x + y{{)}}}}</code> || <math>\round{x + y}</math> || Round (to the nearest integer)
| <code>round</code> || <code>{{nowrap|<nowiki>\round{x + y}</nowiki>}}</code> || <math>\round{x + y}</math> || Round (to the nearest integer)
|-
|-
| <code>rround</code> || <code>{{nowrap|\rround{{(}}x + y{{)}}}}</code> || <math>\rround{x + y}</math> || "Reverse round" (distance to nearest integer)
| <code>rround</code> || <code>{{nowrap|<nowiki>\rround{x + y}</nowiki>}}</code> || <math>\rround{x + y}</math> || "Reverse round" (distance to nearest integer)
|}
|}