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 pari real precision expressed in words to precision
expressed in bits. Note: this adjusts for the two codewords of a
pari real, and is architecture-dependent.


    >>> import cypari.gen as gen
    >>> gen.prec_words_to_bits(10)
    256   # 32-bit
    512   # 64-bit(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)