FLINT3.7.0-dev

mag_fac_ui, mag_rfac_ui

Synopsis#include <flint/mag.h>
void mag_fac_ui(mag_t res, ulong n)source
void mag_rfac_ui(mag_t res, ulong n)source

Set res to an upper bound for n!, respectively 1/n!.

Cite this page

The FLINT team, “mag_fac_ui, mag_rfac_ui (mag.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mag/mag_fac_ui.html (generated 2026-10-20).