Search.setIndex({docnames:["decimalfp","index"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["decimalfp.rst","index.rst"],objects:{"":{decimalfp:[0,0,0,"-"]},"decimalfp.Decimal":{__abs__:[0,2,1,""],__add__:[0,2,1,""],__ceil__:[0,2,1,""],__div__:[0,2,1,""],__eq__:[0,2,1,""],__floor__:[0,2,1,""],__format__:[0,2,1,""],__ge__:[0,2,1,""],__gt__:[0,2,1,""],__hash__:[0,2,1,""],__le__:[0,2,1,""],__lt__:[0,2,1,""],__mul__:[0,2,1,""],__neg__:[0,2,1,""],__pos__:[0,2,1,""],__pow__:[0,2,1,""],__radd__:[0,2,1,""],__rdiv__:[0,2,1,""],__repr__:[0,2,1,""],__rmul__:[0,2,1,""],__round__:[0,2,1,""],__rsub__:[0,2,1,""],__rtruediv__:[0,2,1,""],__str__:[0,2,1,""],__sub__:[0,2,1,""],__truediv__:[0,2,1,""],__trunc__:[0,2,1,""],adjusted:[0,2,1,""],as_fraction:[0,2,1,""],as_integer_ratio:[0,2,1,""],as_tuple:[0,2,1,""],denominator:[0,3,1,""],from_decimal:[0,4,1,""],from_float:[0,4,1,""],from_real:[0,4,1,""],imag:[0,3,1,""],magnitude:[0,3,1,""],numerator:[0,3,1,""],precision:[0,3,1,""],quantize:[0,2,1,""],real:[0,3,1,""]},"decimalfp.ROUNDING":{ROUND_05UP:[0,3,1,""],ROUND_CEILING:[0,3,1,""],ROUND_DOWN:[0,3,1,""],ROUND_FLOOR:[0,3,1,""],ROUND_HALF_DOWN:[0,3,1,""],ROUND_HALF_EVEN:[0,3,1,""],ROUND_HALF_UP:[0,3,1,""],ROUND_UP:[0,3,1,""]},decimalfp:{Decimal:[0,1,1,""],ROUNDING:[0,1,1,""],get_rounding:[0,5,1,""],set_rounding:[0,5,1,""]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","attribute","Python attribute"],"4":["py","classmethod","Python class method"],"5":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:attribute","4":"py:classmethod","5":"py:function"},terms:{"case":0,"class":1,"default":0,"enum":0,"float":0,"function":0,"import":0,"int":0,"long":0,"new":0,"return":0,"true":0,Adding:0,But:0,For:0,The:0,__abs__:0,__add__:0,__ceil__:0,__div__:0,__eq__:0,__floor__:0,__format__:0,__ge__:0,__gt__:0,__hash__:0,__le__:0,__lt__:0,__mul__:0,__neg__:0,__pos__:0,__pow__:0,__radd__:0,__rdiv__:0,__repr__:0,__rmul__:0,__round__:0,__rsub__:0,__rtruediv__:0,__str__:0,__sub__:0,__truediv__:0,__trunc__:0,abov:0,abs:0,access:0,accord:0,adjust:0,after:0,all:0,allow:0,also:0,alwai:0,ani:0,arbitrari:1,argument:0,arithmet:0,as_fract:0,as_integer_ratio:0,as_tupl:0,automat:0,awai:0,base:0,been:0,below:0,bewar:0,bool:0,built:0,calcul:0,call:0,can:0,ceil:0,classmethod:0,closest:0,coeff:0,complex:0,compon:0,comput:1,constraint:0,constructor:0,content:1,context:0,convers:0,convert:0,copi:0,creat:0,current:0,deal:0,decim:1,decimalfp:0,defin:0,denomin:0,deriv:0,detail:0,differ:0,digit:0,divid:0,document:0,doe:0,done:0,either:0,enumer:0,equal:0,equival:0,even:0,exact:0,exactli:0,exampl:0,exce:0,except:0,exp:0,explicit:0,fals:0,finit:0,fix:0,floor:0,fmt_spec:0,follow:0,format:0,frac:0,fraction:0,from:0,from_decim:0,from_float:0,from_real:0,gener:0,get:0,get_round:0,give:0,given:0,going:0,greater:0,hash:0,have:0,held:0,imag:0,imaginari:0,immut:0,index:1,infin:0,infinit:0,inform:0,instanc:0,integ:0,integr:0,involv:0,irrat:0,its:0,largest:0,last:0,latter:0,least:0,less:0,librari:0,like:0,likewis:0,limit:0,limit_prec:0,list:0,lost:0,lower:0,magnitud:1,mai:0,math:0,max:0,maximum:0,mention:0,method:0,minimum:0,mix:0,mod:0,mode:1,modul:[0,1],multipli:0,must:0,n_digit:0,nearest:0,neccessari:0,need:0,neg:0,neither:0,none:0,nor:0,normal:0,number:1,numer:0,one:0,onli:0,oper:0,operand:0,other:0,otherwis:0,packag:0,page:1,pair:0,paramet:0,part:0,perform:0,point:0,posit:0,power:0,precis:1,preserv:0,provid:0,python:0,quant:0,quantiz:0,quantum:0,rais:0,ratio:0,ration:0,real:0,reason:0,regist:0,repr:0,repres:0,result:0,root:0,round:1,round_05up:0,round_ceil:0,round_down:0,round_floor:0,round_half_down:0,round_half_even:0,round_half_up:0,round_up:0,same:0,search:1,see:0,self:0,set:0,set_round:0,shall:0,shortcut:0,sign:0,signific:0,sinc:0,smallest:0,specifi:0,stack:0,standard:0,str:0,string:0,sum:0,support:0,term:0,than:0,thei:0,thi:0,thu:0,ties:0,toward:0,tri:0,trunc:0,tupl:0,two:0,type:0,typeerror:0,unless:0,usag:1,used:0,uses:0,using:0,valu:0,valueerror:0,via:0,when:0,which:0,whose:0,within:0,would:0,wrap:0,zero:0,zerodivisionerror:0},titles:["Decimal numbers of arbitrary magnitude and arbitrary precision","Welcome to decimalfp\u2019s documentation!"],titleterms:{"class":0,addit:0,arbitrari:0,comput:0,decim:0,decimalfp:1,divis:0,document:1,indic:1,magnitud:0,mode:0,multipl:0,number:0,precis:0,round:0,subtract:0,tabl:1,usag:0,welcom:1}})