fracx
fracx is an open-source library that provides exact arithmetic with fractions and rational numbers. It offers a native fraction type and operations that yield exact results rather than floating-point approximations, making it suitable for computational mathematics, symbolic computation, and education-focused tools.
Core features include a fraction type composed of a numerator and denominator, normalization to lowest terms,
The design emphasizes correctness and predictability. Fractions are stored in reduced form after every operation, with
Usage scenarios span education software, computer algebra systems, simulations requiring exact arithmetic, and financial or scientific
Development and licensing: fracx is maintained by an international community of contributors and released under a