| Information | |
|---|---|
| has gloss | eng: In mathematics, the nearest integer function of real number x denoted variously by [x] , \lfloor x \rceil, \Vert x \Vert, nint(x), or Round(x), is a function which returns the nearest integer to x. To avoid ambiguity when operating on half-integers, the function is defined to be the nearest even integer in this case — for example, :[1.5] = 2 :[2.5] = 2 :[3.5] = 4 :[4.5] = 4 :etc. |
| lexicalization | eng: Nearest integer function |
| instance of | e/Elementary function |
| Meaning | |
|---|---|
| Thai | |
| has gloss | tha: ฟังก์ชันจำนวนเต็มใกล้สุด คือฟังก์ชันที่ให้ค่าจำนวนเต็มสำหรับจำนวนจริง x ใด ๆ เขียนสัญกรณ์แทนได้หลายอย่างเช่น [x] , ||x|| , ⌊x⌉, nint (x), หรือ round (x) เป็นต้น และเพื่อไม่ให้เกิดความกำกวมเมื่อดำเนินการบนจำนวนเต็มครึ่ง (จำนวนเต็มที่บวก 0.5) ฟังก์ชันนี้จึงนิยามให้มีค่าไปยังจำนวนคู่ที่ใกล้เคียงที่สุด ตัวอย่างในกรณีนี้เช่น * [1.5] = 2 * [2.5] = 2 * [3.5] = 4 * [4.5] = 4 |
| lexicalization | tha: ฟังก์ชันจำนวนเต็มใกล้สุด |
| Media | |
|---|---|
| media:img | 600px-nint function.png |
Lexvo © 2008-2025 Gerard de Melo. Contact Legal Information / Imprint