Truncation is a term used in mathematics, computer science, and database searching. In mathematics and computer science, truncation refers to limiting the number of digits right of the decimal point. Truncation of positive real numbers can be done using the floor function, which rounds down to the nearest integer. However, for negative numbers, truncation always rounds towards zero, while the floor function rounds towards negative infinity. In database searching, truncation is a technique that broadens a search to include various word endings and spellings. It is similar to wildcards, which substitute a symbol.
According to Dictionary.com and the Cambridge English Dictionary, truncation can also refer to the act or process of shortening something by removing the end of it. In gemology, truncation refers to the replacement of an edge or solid angle by a plane.
In summary, truncation can refer to:
- Limiting the number of digits right of the decimal point in mathematics and computer science
- Broadening a search to include various word endings and spellings in database searching
- Shortening something by removing the end of it in general usage
- Replacing an edge or solid angle by a plane in gemology.