Precision of float and bfloat



-----maxima-bounces at math.utexas.edu wrote: -----

>most-positive-double-float
>most-positive-fixnum
>
>etc.??These?are?accessible?in?the?ususal?way?from?within?maxima:
>
>:lisp?most-positive-fixnum
>536870911
>
>:lisp?most-positive-double-float
>1.7976931348623157e308

Alternatively,

(%i1) load(floatproperties)$

(%i2) float_eps();
(%o2) 1.1107651257113995*10^-16

(%i3) largest_float;
(%o3) 1.7976931348623157*10^308

(%i4) least_positive_float;
(%o4) 4.9406564584124654*10^-324

(%i5) float_bits();
(%o5) 53

(%i6) bigfloat_eps();
(%o6) 1.387778780781446b-17

(%i7) bigfloat_eps(),fpprec : 100;
(%o7) 1.4287342391028437277697294353[46
digits]3422744594310027325215037b-101

Barton