nearest integer function
function which returns the nearest integer to x; for half-integers, a rounding rule must be chosen, usually to round half-integers to the nearest even integer
| rdfs:label |
"nearest integer function"@en
|
|
skos:alt |
"round to integer"@en
"rounding to integer"@en
|
| schema:description |
"function which returns the nearest integer to x; for half-integers, a rounding rule must be chosen, usually to round half-integers to the nearest even integer"@en
|
|
schema:date |
"2025-06-06T19:31:44+00:00"^^xsd:dateTime |
| schema:version | 2357661999 |
| wikibase:identifiers | 2 |
| wikibase:sitelinks | 4 |
| wikibase:statements | 11 |
| p:P1568 | wd:statement/Q6583251-909f5352-45d5-14a9-9043-4f42fcb4cbec |
| p:P18 | wd:statement/Q6583251-d907bfac-4766-f1d5-77c6-4b453887bbcd |
| p:P1889 | wd:statement/Q6583251-a9514a8a-4e15-7836-b4db-14a8dbdfd861 |
| p:P2396 | wd:statement/Q6583251-67ecc3f5-446c-df1a-0416-837076e4422a |
| p:P2534 | wd:statement/Q6583251-fa70ee48-414c-d906-49bc-ecfa45d6d20e |
| p:P2671 | wd:statement/Q6583251-1B0B72EF-E768-4265-AB84-9A9DFA803547 |
| p:P2812 | wd:statement/Q6583251-B39FD77B-26D1-49C0-84A6-299A89D0977A |
| p:P31 | wd:statement/Q6583251-efebbc3b-4b7a-c5a9-8b3e-65329ec5602e |
| wd:statement/Q6583251-fb4d243c-4e6f-4016-b181-ddb89c52039e | |
| wd:statement/Q6583251-ff27aa89-4fd1-5593-9a02-df0d5a00201e | |
| p:P6104 | wd:statement/Q6583251-DD1B1C64-19FE-4EEC-8CCB-8E749C410AC3 |
|
p:direct- |
<http:/ |
| wdt:P1568 | set of real numbers |
| wdt:P18 |
<http:/ |
| wdt:P1889 | floor and ceiling functions |
| wdt:P2396 | set of integers |
| wdt:P2534 | "<math class="mwe-math-element mwe-math-element-inline" xmlns="http://www.w3.org/1998/Math/MathML"><mrow data-mjx-texclass="ORD"><mstyle displaystyle="true" scriptlevel="0"><mi>x</mi><mo stretchy="false">↦</mo><mrow data-mjx-texclass="ORD"><mo data-mjx-texclass="OPEN">{</mo><mtable columnspacing="1em" rowspacing="4pt" columnalign="left left"><mtr><mtd><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo></mtd><mtd><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">−</mo><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo><mo><</mo><mn>1</mn><mo lspace="0" rspace="0">/</mo><mn>2</mn><mo stretchy="false">)</mo></mtd></mtr><mtr><mtd><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo><mo stretchy="false">+</mo><mn>1</mn></mtd><mtd><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">−</mo><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo><mo>></mo><mn>1</mn><mo lspace="0" rspace="0">/</mo><mn>2</mn><mo stretchy="false">)</mo></mtd></mtr><mtr><mtd><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo></mtd><mtd><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">−</mo><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo><mo stretchy="false">=</mo><mn>1</mn><mo lspace="0" rspace="0">/</mo><mn>2</mn><mo>,</mo><mspace width="0.278em"></mspace><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo><mo stretchy="false">≡</mo><mn>0</mn><mrow data-mjx-texclass="ORD"><mspace width="0.444em"></mspace><mo stretchy="false">(</mo><mi>mod</mi><mspace width="0.333em"></mspace><mn>2</mn><mo stretchy="false">)</mo></mrow><mo stretchy="false">)</mo></mtd></mtr><mtr><mtd><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo><mo stretchy="false">+</mo><mn>1</mn></mtd><mtd><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">−</mo><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo><mo stretchy="false">=</mo><mn>1</mn><mo lspace="0" rspace="0">/</mo><mn>2</mn><mo>,</mo><mspace width="0.278em"></mspace><mo stretchy="false">⌊</mo><mi>x</mi><mo stretchy="false">⌋</mo><mo stretchy="false">≡</mo><mn>1</mn><mrow data-mjx-texclass="ORD"><mspace width="0.444em"></mspace><mo stretchy="false">(</mo><mi>mod</mi><mspace width="0.333em"></mspace><mn>2</mn><mo stretchy="false">)</mo></mrow><mo stretchy="false">)</mo></mtd></mtr></mtable><mo fence="true" stretchy="true" symmetric="true" data-mjx-texclass="CLOSE"></mo></mrow></mstyle></mrow></math>"^^http://www.w3.org/1998/Math/MathML |
| wdt:P2671 | "/g/124xvxhnc" |
| wdt:P2812 | "NearestIntegerFunction" |
| wdt:P31 | integer-valued function |
| idempotent function | |
| rounding | |
| wdt:P6104 | WikiProject Mathematics |
Download as: