Sponsored links: Algebra eBooks
 

Related

bfloat-fpprec

fpprec:20;

bfloat(%e^2);

Calculate

bfloat-expand-fpprec-fpprintprec-invert-matrix-ratsimp-transpose

fpprec:96;

fpprintprec:24;

A:ratsimp(matrix([ 0....

Calculate

bfloat-cos-numer-ratepsilon

ratepsilon:1e-20;

R:6370;

U:20200;

Calculate

bfloat-solve

m1:8;

m2:5;

v1ix:45;

Calculate

bfloat-display2d-false-rationalize-solve

display2d:false;

a:rationalize(48.2872...

b:rationalize(-3.6976...

Calculate

bfloat-cos

S: 100*cos(40);

Sig: 100;

F: Sig*S;

Calculate

bfloat-fpprec-ratsimp-subst

P: k + 1;

Q: 2*k+3;

R : P/Q;

Calculate

bfloat-binomial-block-distrib-floor-load-sum

load(distrib);

trufas(brotes):=block...

total(n,k,d,esp,p):=b...

Calculate

bfloat-fpprec

n : ln(9);

fpprec : 10;

bfloat(n);

Calculate

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

pidigits(prec):=block...

makelist(pidigits(n),...

lastdigits(fnum, last...

Calculate

bfloat

Run Example
(%i1)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
bfloat(27*hypergeometric([1,1],[5/4],-1/80)-hypergeometric([1,1],[7/4],-1/80)+343/60*hypergeometric([1,1],[5/4],-1/2400)-7/180*hypergeometric([1,1],[7/4],-1/2400));
(%o1)                         3.141592653589793b1
(%i2) bfloat((7/4-1)*(1+1/80)*hypergeometric([1,1],[3/4],-1/80));
(%o2)                        7.468971205145837b-1
(%i3) bfloat(-(2-7/4)*(-1/80)*hypergeometric([1,1],[7/4],-1/80)+(7/4-1)*1);
(%o3)                        7.531028794854163b-1
(%i4) 
Run Example
u:sqrt(3)*230;
(%o1)                             230 sqrt(3)
(%i2) float(u);
(%o2)                          398.3716857408418
(%i3) fpprec:24;
(%o3)                                 24
(%i4) bfloat(u);
(%o4)                     3.98371685740841777511313b2
(%i5) x: (1/2) + (1/3);
                                       5
(%o5)                                  -
                                       6
(%i6) float(x);
(%o6)                          0.83333333333333
(%i7) bfloat(x);
(%o7)                    8.33333333333333333333333b-1
(%i8) y: %pi;
(%o8)                                 %pi
(%i9) float(y);
(%o9)                          3.141592653589793
(%i10) fpprec:128;
(%o10)                                128
(%i11) bfloat(y);
(%o11) 3.141592653589793238462643383279502884197169399375105820974944592307816\
4062862089986280348253421170679821480865132823066470938446b0
(%i12) float(%e);
(%o12)                         2.718281828459045
(%i13) 
[abs,bfloat,mod,numer] [addcol,bfloat,echelon,fpprec,fpprintprec,load,matrix,rowop] [bern,bfloat,block,fpprec,makelist,numer,return,sum] [bfloat,bftorat,block,delete,false,if,integerp,mod,ratdenom,ratepsilon,ratprint] [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,bftorat,fpprec,log,makelist,true] [bfloat,binomial,block,distrib,floor,load,sum] [bfloat,binomial,sum] [bfloat,block,denom,false,float,mod,ratexpand,ratprint] [bfloat,block,denom,false,float,mod,ratprint,ratsimp] [bfloat,cos,false,fpprec,numer,ratepsilon,sin,solve] [bfloat,cos,fpprec,linsolve,numer,ratepsilon,sin,true] [bfloat,define_variable,disp,do,float,floor,fpprec,sum] [bfloat,define_variable,display,do,float,floor,fpprec,sum] [bfloat,define_variable,float,floor,fpprec,sum] [bfloat,determinant,invert,matrix,pi,plot2d,sin,transpose] [bfloat,diff,plot2d] [bfloat,display,ratsimp,subst] [bfloat,eigenvectors,load,matrix] [bfloat,ev,integrate,solve,sqrt] [bfloat,exp,float,integrate] [bfloat,expand,realroots] [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,solve] [bfloat,float,sqrt] [bfloat,float,sum] [bfloat,float] [bfloat,fpprec,fpprintprec] [bfloat,fpprec,grind,makelist] [bfloat,fpprec,makelist,numer,sum] [bfloat,fpprec,pi] [bfloat,fpprec,sin] [bfloat,fpprec,sqrt] [bfloat,fpprec,sum] [bfloat,fpprec] [bfloat,horner,pade,plot2d,taylor] [bfloat,pade,plot2d,taylor] [bfloat,plot2d] [bfloat,solve] [bfloat,sqrt] [bfloat]

Related Help

Help for Bfloat