Product Code Database
Example Keywords: shoe -iphone $46-199
barcode-scavenger
   » » Wiki: Truncation
Tag Wiki 'Truncation'.
Tag

In and , truncation is limiting the number of right of the .


Truncation and floor function
Truncation of positive real numbers can be done using the . Given a number x \in \mathbb{R}_+ to be truncated and n \in \mathbb{N}_0, the number of elements to be kept behind the decimal point, the truncated value of x is
\operatorname{trunc}(x,n) = \frac{\lfloor 10^n \cdot x \rfloor}{10^n}.

However, for negative numbers truncation does not round in the same direction as the floor function: truncation always rounds toward zero, the \operatorname{floor} function rounds towards negative infinity. For a given number x \in \mathbb{R}_-, the function \operatorname{ceil} is used instead

\operatorname{trunc}(x,n) = \frac{\lceil 10^n \cdot x \rceil}{10^n}.


Causes of truncation
With computers, truncation can occur when a decimal number is as an ; it is truncated to zero decimal digits because integers cannot store non-integer .


In algebra
An analogue of truncation can be applied to . In this case, the truncation of a polynomial P to degree n can be defined as the sum of all terms of P of degree n or less. Polynomial truncations arise in the study of Taylor polynomials, for example.
(2025). 9780914098911, Publish or Perish. .


See also
  • Arithmetic precision
  • Quantization (signal processing)
  • Precision (computer science)
  • Truncation (statistics)


External links

Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs