staticVALUEBigDecimal_limit(intargc,VALUE*argv,VALUEself){VALUEnFig;VALUEnCur=INT2NUM(VpGetPrecLimit());if(rb_scan_args(argc,argv,"01",&nFig)==1){intnf;if(nFig==Qnil)returnnCur;Check_Type(nFig,T_FIXNUM);nf=FIX2INT(nFig);if(nf<0){rb_raise(rb_eArgError,"argument must be positive");}VpSetPrecLimit(nf);}returnnCur;}