截斷 定義
Truncation otherwise referred to as truncating a number is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. In other terms truncation is limiting the number of digits right of the decimal point. For instance, with pi (π), 3.14159265…, it can be truncated down to 3.1415. In this case, if 3.14159265...were rounded to the same decimal place, the approximation would result in the number 3.1416.
代數
多項式可以應用截斷的類似物。在這種情況下,多項式 P 到 n 次的截斷可以定義為 P 的 n 次或更小的所有項之和。例如,多項式截斷出現在泰勒多項式的研究中。
計算機科學
對於計算機,當十進制數 typecast 作為 integer 時,可能會發生截斷。在這種情況下,由於整數不能存儲非整數實數,所以要進行類型轉換的數字會被截斷為零十進制數字。
相關定義
來源
“Truncation.” Wikipedia, Wikimedia Foundation, 18 Dec. 2019, en.wikipedia.org/wiki/Truncation.
×