require 'bigdecimal'require 'bigdecimal/math'include BigMathtwo = BigDecimal("2")BigMath::sqrt(two, 28).round(28).to_s("F")# => "1.4142135623730950488016887242"