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:

Fpprintprec

-- Option variable: fpprintprec Default value: 0

fpprintprec is the number of digits to print when printing an ordinary float or bigfloat number.

a:25/18;
 b:ev(a,numer);
expand(b);
fpprintprec:33;
bfloat(25/18);

For ordinary floating point numbers, when fpprintprec has a value between 2 and 16 (inclusive), the number of digits printed is equal to fpprintprec. Otherwise, fpprintprec is 0, or greater than 16, and the number of digits printed is 16.

For bigfloat numbers, when fpprintprec has a value between 2 and fpprec (inclusive), the number of digits printed is equal to fpprintprec. Otherwise, fpprintprec is 0, or greater than fpprec, and the number of digits printed is equal to fpprec.

fpprintprec cannot be 1.

(%o1)                                true
(%i2) 

Related Examples

fpprintprec

fpprintprec:30;

a: 0.000000011;

Calculate

fpprintprec-numer-pi

fpprintprec:5;

tn:0;

tk:%pi;

Calculate

fpprintprec

fpprintprec:20;

a:0.001;

b:0.0001;

Calculate

fpprintprec-numer-sum

fpprintprec:5;

k:1;

j:1;

Calculate

fpprintprec

fpprintprec:30;

a: 0.000000011;

Calculate

fpprintprec

fpprintprec:30;

a: 0.000000011;

Calculate

fpprintprec-numer-sqrt-true

fpprintprec:3;

numer:true;

x1:0;

Calculate

fpprintprec-solve

fpprintprec:8;

eq1: (10+x)^2 = 100 +...

eq2: y^2 = z^2 + w^2;

Calculate