Macaulay2 Engine
Loading...
Searching...
No Matches
◆
is_pm_one()
bool
M2::ARingQQFlint::is_pm_one
(
const
ElementType
&
f
)
const
inline
Definition at line
92
of file
aring-qq-flint.hpp
.
93
{
94
return
fmpq_is_one(&f) or ((fmpz_cmp_si(fmpq_numref(&f), -1) == 0) and
95
fmpz_is_one(fmpq_denref(&f)));
96
}
Referenced by
elem_text_out()
.
M2
ARingQQFlint
Generated on
for Macaulay2 Engine by
1.15.0