flintlib / arb

Arb has been merged into FLINT -- use https://github.com/flintlib/flint/ instead
http://arblib.org/
GNU Lesser General Public License v2.1
455 stars 137 forks source link

arf_get_fmpq is missing from documentation #318

Closed saraedum closed 3 years ago

saraedum commented 4 years ago

arf_get_fmpq is in arf.h but it's not in arf.rst. Is that intentional?

p15-git-acc commented 3 years ago

I checked if it's easy to add this documentation, but I'm confused about how to document this part:

    else if (arf_is_special(x) || !ARF_IS_LAGOM(x))
    {
        flint_printf("exception: arf_get_fmpq: cannot convert to rational\n");
        flint_abort();
    }

Apparently it aborts the execution if the exponent of the arf_t input is too big.