A new instance of ArcSin.
Returns a new instance of ArcSin.
319 320 321 322
# File 'lib/graph.rb', line 319 def initialize(n = R.prec) @precMem = R.prec @precLoc = n end
323 324 325 326 327
# File 'lib/graph.rb', line 323 def at(x) R.prec = @precLoc y = R.c(x).asin R.prec = @precMem; y end