Sha256: 5d6c823d55c2255f8ca99dc6590fb1173a83656e8464f78ff0e1936979a55e88
Contents?: true
Size: 268 Bytes
Versions: 3
Compression:
Stored size: 268 Bytes
Contents
require_relative "../spec_helper" describe MPFI, "when calculating mathematical functions" do it "should not raise error" do MPFR.set_default_prec(256) num = MPFI.new('4.2184930258398098') # p MPFI::Math.sqr(num) # p MPFI::Math.sqrt(num) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-mpfi-0.0.10 | spec/mpfi/mpfi_math_functions_spec.rb |
ruby-mpfi-0.0.9 | spec/mpfi/mpfi_math_functions_spec.rb |
ruby-mpfi-0.0.8 | spec/mpfi/mpfi_math_functions_spec.rb |