Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Convert from precision expressed in bits to precision expressed in
decimal.

EXAMPLES::

    >>> import cypari.gen as gen
    >>> gen.prec_bits_to_dec(53)
    15
    >>> [(32*n,gen.prec_bits_to_dec(32*n)) for n in range(1,9)]
    [(32, 9), (64, 19), (96, 28), (128, 38), (160, 48), (192, 57), (224, 67), (256, 77)](more...)

src/c/y/cypari-1.1/cypari/all.py   cypari(Download)
PariError = _gen.PariError
 
from .gen import (prec_dec_to_words, prec_dec_to_bits,
                 prec_bits_to_words, prec_bits_to_dec,
                 prec_words_to_bits, prec_words_to_dec)