Changed Fraction(double) to correctly handle near-integral arguments. PR # 35434 Submitted by: Jörg Weimar