Very large integers ke liye BigInt operations use kiye gaye hain.
Addition/Subtraction: Find common denominator using LCM, convert fractions, add/subtract numerators, simplify.
Example: 3/4 + 1/6 = (3×6)/(4×6) + (1×4)/(6×4) = 22/24 = 11/12
Multiplication: Multiply numerators and denominators, then simplify.
Example: 3/4 × 1/6 = (3×1)/(4×6) = 3/24 = 1/8
Division: Multiply by the reciprocal of the second fraction.
Example: 3/4 ÷ 1/6 = 3/4 × 6/1 = 18/4 = 9/2
Simplification: Divide numerator and denominator by their GCD.
Example: 220/440 → GCD=220 → 220÷220/440÷220 = 1/2
Decimal Conversion: For fraction to decimal, divide numerator by denominator. For decimal to fraction, use continued fractions or direct method for terminating decimals.
Example: 0.1234 = 1234/10000 = 617/5000