What is the minimum precision allowed for floats.

Vincent Diepeveen diep at xs4all.nl
Sun Sep 28 23:20:56 CEST 2008


hi,

from head i'd say a float has 23 bits precision for mantissa and a  
double about 53.

divide by  log10/log2 to get the number of digits accuracy.

Thanks,
Vincent

On Sep 28, 2008, at 10:47 PM, Joel Kronander wrote:

> Hi
>
> I have a question regading the possible minimun precision for floats.
> For example is it possible to use a precision between native c  
> float and double
> ie precision digits between 6-15 for exmample.
>
>
> /best regards Joel Kronander
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at swox.com
> https://gmplib.org/mailman/listinfo/gmp-discuss



More information about the gmp-discuss mailing list