
The fractional part or decimal part of a non‐negative real number is the excess beyond that number's integer part. The latter is defined as the largest integer not greater than x, called floor of x or . Then, the fractional part can be formulated as a difference:

- .
The fractional part of logarithms, specifically, is also known as the mantissa; by contrast with the mantissa, the integral part of a logarithm is called its characteristic. The word mantissa was introduced by Henry Briggs.
For a positive number written in a conventional positional numeral system (such as binary or decimal), its fractional part hence corresponds to the digits appearing after the radix point, such as the decimal point in English. The result is a real number in the half-open interval [0, 1).
For negative numbers
However, in case of negative numbers, there are various conflicting ways to extend the fractional part function to them: It is either defined in the same way as for positive numbers, i.e., by (Graham, Knuth & Patashnik 1992), or as the part of the number to the right of the radix point
(Daintith 2004), or by the odd function:
with as the smallest integer not less than x, also called the ceiling of x. By consequence, we may get, for example, three different values for the fractional part of just one x: let it be −1.3, its fractional part will be 0.7 according to the first definition, 0.3 according to the second definition, and −0.3 according to the third definition, whose result can also be obtained in a straightforward way by
.
The and the "odd function" definitions permit for unique decomposition of any real number x to the sum of its integer and fractional parts, where "integer part" refers to
or
respectively. These two definitions of fractional-part function also provide idempotence.
The fractional part defined via difference from ⌊ ⌋ is usually denoted by curly braces:
Relation to continued fractions
Every real number can be essentially uniquely represented as a simple 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
- Circle group
- Equidistributed sequence
- One-parameter group
- Pisot–Vijayaraghavan number
- Poussin proof
- Significand
References
- "Decimal part". Oxford Dictionaries. Archived from the original on February 15, 2018. Retrieved 2018-02-15.
- Ashton, Charles Hamilton (1910). Five Place Logarithmic Tables: Together with a Four Place Table of Natural Functions. C. Scribner's Sons. pp. iv.
- Magazines, Hearst (February 1913). Popular Mechanics. Hearst Magazines. p. 291.
- Gupta, Dr Alok (2020-07-04). Business Mathematics by Alok Gupta: SBPD Publications. SBPD publications. p. 140. ISBN 978-93-86908-16-2.
- Schwartzman, Steven (1994-12-31). The Words of Mathematics: An Etymological Dictionary of Mathematical Terms in English. American Mathematical Soc. p. 131. ISBN 978-1-61444-501-2.
- Graham, Ronald L.; Knuth, Donald E.; Patashnik, Oren (1992), Concrete mathematics: a foundation for computer science, Addison-Wesley, p. 70, ISBN 0-201-14236-8
- Daintith, John (2004), A Dictionary of Computing, Oxford University Press
- Weisstein, Eric W. "Fractional Part." From MathWorld--A Wolfram Web Resource
The fractional part or decimal part of a non negative real number x displaystyle x is the excess beyond that number s integer part The latter is defined as the largest integer not greater than x called floor of x or x displaystyle lfloor x rfloor Then the fractional part can be formulated as a difference Graph of the fractional part of real numbersfrac x x x x gt 0 displaystyle operatorname frac x x lfloor x rfloor x gt 0 The fractional part of logarithms specifically is also known as the mantissa by contrast with the mantissa the integral part of a logarithm is called its characteristic The word mantissa was introduced by Henry Briggs For a positive number written in a conventional positional numeral system such as binary or decimal its fractional part hence corresponds to the digits appearing after the radix point such as the decimal point in English The result is a real number in the half open interval 0 1 For negative numbersHowever in case of negative numbers there are various conflicting ways to extend the fractional part function to them It is either defined in the same way as for positive numbers i e by frac x x x displaystyle operatorname frac x x lfloor x rfloor Graham Knuth amp Patashnik 1992 or as the part of the number to the right of the radix point frac x x x displaystyle operatorname frac x x lfloor x rfloor Daintith 2004 or by the odd function frac x x x x 0x x x lt 0 displaystyle operatorname frac x begin cases x lfloor x rfloor amp x geq 0 x lceil x rceil amp x lt 0 end cases with x displaystyle lceil x rceil as the smallest integer not less than x also called the ceiling of x By consequence we may get for example three different values for the fractional part of just one x let it be 1 3 its fractional part will be 0 7 according to the first definition 0 3 according to the second definition and 0 3 according to the third definition whose result can also be obtained in a straightforward way by frac x x x sgn x displaystyle operatorname frac x x lfloor x rfloor cdot operatorname sgn x The x x displaystyle x lfloor x rfloor and the odd function definitions permit for unique decomposition of any real number x to the sum of its integer and fractional parts where integer part refers to x displaystyle lfloor x rfloor or x sgn x displaystyle lfloor x rfloor cdot operatorname sgn x respectively These two definitions of fractional part function also provide idempotence The fractional part defined via difference from is usually denoted by curly braces x x x displaystyle x x lfloor x rfloor Relation to continued fractionsEvery real number can be essentially uniquely represented as a simple 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 alsoCircle group Equidistributed sequence One parameter group Pisot Vijayaraghavan number Poussin proof SignificandReferences Decimal part Oxford Dictionaries Archived from the original on February 15 2018 Retrieved 2018 02 15 Ashton Charles Hamilton 1910 Five Place Logarithmic Tables Together with a Four Place Table of Natural Functions C Scribner s Sons pp iv Magazines Hearst February 1913 Popular Mechanics Hearst Magazines p 291 Gupta Dr Alok 2020 07 04 Business Mathematics by Alok Gupta SBPD Publications SBPD publications p 140 ISBN 978 93 86908 16 2 Schwartzman Steven 1994 12 31 The Words of Mathematics An Etymological Dictionary of Mathematical Terms in English American Mathematical Soc p 131 ISBN 978 1 61444 501 2 Graham Ronald L Knuth Donald E Patashnik Oren 1992 Concrete mathematics a foundation for computer science Addison Wesley p 70 ISBN 0 201 14236 8 Daintith John 2004 A Dictionary of Computing Oxford University Press Weisstein Eric W Fractional Part From MathWorld A Wolfram Web Resource