Sponsored links: Algebra eBooks
 

Related

bfloat-block-fpprec

mysqrt(n):=block([i,g...

Calculate

bfloat-ev-integrate-solve-sqrt

a: integrate(1*(1-x)*...

b: integrate(x*x/10,x...

h:solve(1*(1-x)**2 + ...

Calculate

bfloat-float-integrate

bfloat(integrate(x^20...

Calculate

bfloat-fpprec-fpprintprec

fpprec:100;

fpprintprec:100;

bfloat(14411518807585...

Calculate

bfloat-fpprec-hypergeometric-sqrt

fpprec:100;

bfloat(47/15*hypergeo...

Calculate

bfloat-fpprec-pi-sin

fpprec:20;

bfloat(sin(75*(%pi)/1...

Calculate

bfloat-block-false-mod-ratprint

ratprint:false;

lastdigits(fnum, last...

rat(0.12345);

Calculate

bfloat-fpprec

fpprec:20;

bfloat((%e)^2);

Calculate

bfloat-fpprec-fpprintprec-sqrt-string

fpprintprec : 105;

fpprec : 105;

root : string(bfloat(...

Calculate

bfloat-cos-fpprec-pi-product-sqrt

f1(n,h):= sqrt(1-cos(...

f2(n):=product( f1(n,...

bfloat( f2(107)), fpp...

Calculate

bfloat

Run Example
(%i1)fpprec:100;
(%o1)                                 100
(%i2) bfloat(sqrt(126));
(%o2) 1.1224972160321824156751246196949647905268059423336180838911236401960105\
46892081708393042968558313872b1
(%i3) a:3;
(%o3)                                  3
(%i4) (a+4)^2;
(%o4)                                 49
(%i5) b:a;
(%o5)                                  3
(%i6) a:a+4;
(%o6)                                  7
(%i7) b;
(%o7)                                  3
(%i8) kill(b);
(%o8)                                done
(%i9) b;
(%o9)                                  b
(%i10) float(%pi);
(%o10)                         3.141592653589793
(%i11) 
Run Example
define_variable (foo, 0, float);
(%o1)                                  0
(%i2) fpprec : 600;
(%o2)                                 600
(%i3) for m:301 step 1 thru 310 do(foo: bfloat(sum(k^m/3^k,k,1,2100)),foo: foo-floor(foo),disp(m,foo));
                                      301

                                     0.0b0

                                      302

                                     0.0b0

                                      303

                                     0.0b0

                                      304

                                     0.0b0

                                      305

                                     0.0b0

                                      306

                                     0.0b0

                                      307

                                     0.0b0

                                      308

                                     0.0b0

                                      309

                                     0.0b0

                                      310

                                     0.0b0

(%o3)                                done
(%i4) 
Run Example
fpprec:30;
(%o1)                                 30
(%i2) A:1/bfloat(3);
(%o2)                 3.33333333333333333333333333333b-1
(%i3) A_:floor(A*10^20)/10^20,bfloat;
(%o3)                      3.3333333333333333333b-1
(%i4) 
[abs,bfloat,mod,numer] [addcol,bfloat,echelon,fpprec,fpprintprec,load,matrix,rowop] [bern,bfloat,block,fpprec,makelist,numer,return,sum] [bfloat,bftorat,block,emptyp,equal,first,fpprec,if,is,mod,not,numer,ratepsilon,ratprint,return,round] [bfloat,bftorat,block,emptyp,first,fpprec,if,mod,not,numer,ratepsilon,ratprint,return] [bfloat,bftorat,block,ev,float2bf,makelist,mod,ratepsilon,ratprint,return] [bfloat,bftorat,block,float2bf,makelist,mod,ratepsilon,ratprint,return] [bfloat,binomial,block,distrib,floor,load,sum] [bfloat,binomial,sum] [bfloat,block,denom,false,float,mod,ratexpand,ratprint] [bfloat,block,ev,exp,fpprec,if,log,numer,print] [bfloat,block,floor,fpprec,print,sign,sum,while] [bfloat,block,floor,fpprec,sign,sum,while] [bfloat,cos,diff,globalsolve,linsolve,phi,sin,true] [bfloat,cos,float,pi] [bfloat,cos,fpprec,linsolve,numer,ratepsilon,sin,true] [bfloat,cos,fpprec,pi,product,sqrt] [bfloat,define_variable,disp,do,float,floor,fpprec,sum] [bfloat,define_variable,display,do,float,floor,fpprec,sum] [bfloat,diff,globalsolve,linsolve,phi,sqrt,true] [bfloat,eigenvectors,load,matrix] [bfloat,ev,integrate,solve,sqrt] [bfloat,float,fpprec,numer] [bfloat,float,fpprec,pi,rectform,sqrt] [bfloat,float,fpprec,pi,sqrt] [bfloat,float,fpprec,sqrt] [bfloat,float,fpprec] [bfloat,float,hypergeometric] [bfloat,float,log] [bfloat,float,pi] [bfloat,float,solve] [bfloat,float,sqrt] [bfloat,float,sum] [bfloat,float] [bfloat,fpprec,fpprintprec] [bfloat,fpprec,grind,makelist] [bfloat,fpprec,log] [bfloat,fpprec,pi] [bfloat,fpprec,product,sin,sqrt] [bfloat,fpprec,sin] [bfloat,fpprec,solve] [bfloat,fpprec,sqrt] [bfloat,fpprec,sum] [bfloat,fpprec] [bfloat,horner,pade,plot2d,taylor] [bfloat,pade,plot2d,taylor] [bfloat,pi] [bfloat,solve] [bfloat,sqrt] [bfloat]

Related Help

Help for Bfloat