Math question



Another answer in a private mail :
A bigfloat is a arbitrary precision floating point number.
Float's precsion is machine dependent.
Thanks for reply
Eric

jean-denis fouks a écrit :
> Hello,
> delevaux eric wrote:
> 
>> Hello
>> What is the difference between float and bfloat ?
>> I mean, what is the differebce between an float number and a bigfloat 
>> number ?
>> Thanks
>> Eric
> 
> 
> Here is a basic sequence:
> (C1) float(%pi);
> (D1)                    3.141592653589793
> (C2) bfloat(%pi);
> (D2)                   3.141592653589793B0
> (C3) float(%pi*10^5);
> (D3)                    314159.2653589793
> (C4) bfloat(%pi*10^5);
> (D4)                   3.141592653589793B5
> (C5) FPPREC:100;
> (D5)                       100
> (C6) float(%pi);
> (D6)                    3.141592653589793
> (C7) bfloat(%pi);
> (D7) 
> 3.14159265358979323846264338327950288419716939937510582097494459230781640#
> 
> 6286208998628034825342117068B0
> (C8) FPPREC:5;
> (D8)                        5
> (C9) float(%pi);
> (D9)                     3.1416
> (C10) bfloat(%pi);
> (D10)                    3.1416B0
> (C11) FPPREC:16;
> (D11)                       16
> (C12) float(%pi);
> (D12)                    3.141592653589793
> (C13) bfloat(%pi);
> (D13)                   3.141592653589793B0
> (C14) FPPREC:40;
> (D14)                       40
> (C15) float(%pi);
> (D15)                    3.141592653589793
> (C16) bfloat(%pi);
> (D16)           3.141592653589793238462643383279502884197B0
> (C17) block([FPPREC:100],bfloat(%pi));
> (D17) 
> 3.1415926535897932384626433832795028841971693993751058209749445923078164#
> 
> 06286208998628034825342117068B0
> (C19) bfloat(%pi);
> (D19)           3.141592653589793238462643383279502884197B0
> 
> Hope this helps.
> JDF
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>