FractionalPart
The fractional part of x, with the sign of x: x minus its integer part.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
FractionalPart✓FractionalPart(x)x minus IntegerPart(x), with the sign of x.Typed signatures
| Type | Package | Applies |
|---|---|---|
(number) -> number | analytic | always |
Details
- Keeps the sign of x, unlike compute-engine's native Fract, which always lands in : , where .
- Exact where IntegerPart is: an exact rational reduces to an exact rational, and a symbolic constant like Pi stays exact and symbolic ().
- Zero exactly on the integers.
- Real domain -- a concretely complex argument is left unevaluated.
Examples
About
| Examples | 6 |
|---|---|
| Checked against | Wolfram Language 6 agree |
| Crosswalk | Wolfram Language |