Sha256: e047c8f73d472531486a7547d6f0788f12da5a3cd7a2ad32ceaf1815d113dc25
Contents?: true
Size: 265 Bytes
Versions: 3
Compression:
Stored size: 265 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.7 | spec/mpfi/mpfi_math_functions_spec.rb |
ruby-mpfi-0.0.6 | spec/mpfi/mpfi_math_functions_spec.rb |
ruby-mpfi-0.0.5 | spec/mpfi/mpfi_math_functions_spec.rb |