Sponsored links: Algebra eBooks
 

Related

bfloat-float-solve

bfloat(solve(1/10=e^(...

Calculate

bfloat-bftorat-block-float2bf-makelist-mod-ratepsilon-ratprint-return

pidigits(prec):=block...

makelist(pidigits(n),...

lastdigits(fnum, last...

Calculate

bfloat-eigenvectors-load-matrix

load(eigen);

M1 : matrix ([11, -2,...

[vals, vecs] : eigenv...

Calculate

bfloat-fpprec-grind-makelist

fpprec: 64;

grind(makelist(bfloat...

Calculate

bfloat-fpprec-sum

fpprec: 50;

bfloat(sum(1/n^n,n,1...

Calculate

bfloat-float-ratsimp

mno: 249;

a: 3237;

b: 1743;

Calculate

bfloat-cos-float-solve

bfloat(solve(cos(%pi*...

bfloat(solve(cos(%pi*...

Calculate

bfloat-expand-float-fpprec-numer-sqrt

a:(1+sqrt(2))^5;

expand(a);

a, numer;

Calculate

bfloat

n:10101;

bfloat(1/n + 0.0001);

float(1/(0.0001-0.000...

Calculate

bfloat-fpprec

2*%pi*15^2;

fpprec: 3;

bfloat(2*%pi*15^2);

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,false,if,integerp,mod,ratdenom,ratepsilon,ratprint] [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,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