FLINT3.7.0-dev

radix_cmplsh

Synopsis#include <flint/radix.h>
int radix_cmplsh(nn_srcptr a, slong an, nn_srcptr b, slong bn, unsigned int sh, const radix_t radix)source

Returns the sign of a−b⋅bsha - b \cdot b^{\mathit{sh}} for normalised (a,an)(a, \mathit{an}) and (b,bn)(b, \mathit{bn}) and 1≤sh<e1 \le \mathit{sh} < e.

Cite this page

The FLINT team, “radix_cmplsh (radix.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/radix/radix_cmplsh.html (generated 2026-11-02).