Fractional part
The fractional part of a non‐negative real number is the excess beyond that number's integer part: . Here is the largest integer not greater than x, the floor of x. For a positive number written in a conventional positional numeral system (such as binary or decimal), the fractional part equals the digits appearing after the radix point. Equivalently, it equals the original number with the digits before the radix point substituted with 0.
There are various conflicting ways to extend the fractional part function to negative numbers. It is either defined as (Graham, Knuth & Patashnik 1992), as the part of the number to the right of the radix point, (Daintith 2004), or as the odd function:
Here, is the smallest integer not less than x, the ceiling of x. For example, the number −1.3 has a fractional part of 0.7 according to the first definition, 0.3 according to the second definition and −0.3 according to the third definition.
Under the first definition all real numbers can be written in the form where is the number to the left of the radix point, and the remaining fractional part is a nonnegative real number less than one. If is a positive rational number, then the fractional part of can be expressed in the form , where and are integers and . For example, if x = 1.05, then the fractional part of x is 0.05 and can be expressed as 5 / 100 = 1 / 20.
Every real number can be essentially uniquely represented as a continued fraction, namely as the sum of its integer part and the reciprocal of its fractional part which is written as the sum of its integer part and the reciprocal of its fractional part, and so on.
See also
- Floor and ceiling functions, the main article on fractional parts
- Equidistributed sequence
- One-parameter group
- Pisot–Vijayaraghavan number
- Significand
- Quotient space (linear algebra)
References
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
<templatestyles src="Asbox/styles.css"></templatestyles>