Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Bfloat

Function: bfloat (<expr>) Converts all numbers and functions of numbers in <expr> to bigfloat numbers. The number of significant digits in the resulting bigfloats is specified by the global variable fpprec.

f(x,y):=sin(sqrt(x^2+y^2));
f(%pi/3,%pi/4);
bfloat(f(%pi/3,%pi/4));
plot3d(f(x,y),[x,-5,5],[y,-5,5]);
kill(all);
myfibonacci[1]:1;
myfibonacci[n]:=n*myfibonacci[n-1];

When float2bf is false a warning message is printed when a floating point number is converted into a bigfloat number (since this may lead to loss of precision).

There are also some inexact matches for bfloat. Try ?? bfloat to see them.

(%o1)                                true
(%i2) 

Related Examples

bfloat-define_variable-disp-do-float-floor-fpprec-sum

define_variable (foo,...

fpprec : 800;

for m:356 step 1 thru...

Calculate

bfloat

A:1;

B:1;

u:A;

Calculate

bfloat-float-fpprec-numer

r12: 1/(1/r1+1/r2);

r12br: r12, r1=100*oh...

r12br, numer;

Calculate

bfloat-expand-fpprec-sqrt

(1+sqrt(2))^5;

expand(%);

fpprec: 5;

Calculate

bfloat

A:1;

B:1;

u:A;

Calculate

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

load(distrib);

trufas(brotes):=block...

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

Calculate

bfloat-define_variable-disp-do-float-floor-fpprec-sum

define_variable (foo,...

fpprec : 800;

for m:356 step 1 thru...

Calculate

bfloat-sum

4*sum((-1)^(k+1)/(2*k...

Calculate

bfloat-block-denom-false-float-mod-ratexpand-ratprint

ratprint:false;

lastdigits(fnum, last...

rat(0.1234);

Calculate

bfloat-float-fpprec-pi-sqrt

u:sqrt(3)*230;

float(u);

fpprec:24;

Calculate