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:

Bftorat

-- Option variable: bftorat Default value: false

bftorat controls the conversion of bfloats to rational numbers. When bftorat is false, ratepsilon will be used to control the conversion (this results in relatively small rational numbers). When bftorat is true, the rational number generated will accurately represent the bfloat.

(%o1)                                true
(%i2) 

Related Examples

bftorat-block-delete-float-if-integerp-mod-rat-ratdenom-ratepsilon-ratprint

delete(%pi, [0, 3.141...

lastdigits(fnum, last...

lastdigits(2.1459, 3);

Calculate

bftorat-block-float-if-integerp-mod-num-ratdenom-ratepsilon-ratprint

ratio(num):=block([n]...

lastdigits(fnum, last...

ratio(0.1);

Calculate

bftorat-block-float-if-integerp-kill-makelist-mod-rat-ratdenom-ratepsilon-ratprint

kill(lastdigits);

lastdigits(fnum, last...

makelist(lastdigits(0...

Calculate

bftorat-block-float2bf-fpprec-if-integerp-mod-ratdenom-ratepsilon-ratprint-return

pidigits(prec):=block...

lastdigits(fnum, last...

lastdigits(4.1459, 3);

Calculate

bftorat-block-delete-ev-false-float-if-integerp-mod-ratdenom-ratepsilon-ratprint

delete(%pi, [0, 3.141...

ratprint:false;

lastdigits(fnum, last...

Calculate

bftorat-block-ev-float-if-integerp-mod-rat-ratdenom-ratepsilon-ratprint

lastdigits(fnum, last...

lastdigits(4.1459, 3);

lastdigits(4.1459, 3);

Calculate

bftorat-block-delete-float2bf-fpprec-lambda-map-mod-ratepsilon-ratprint-return

pidigits(prec):=block...

map(lambda([x], delet...

map(lambda([x], delet...

Calculate