Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions M2/Macaulay2/e/basic-rings/aring-GF-flint-big.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,6 @@ class ARingGFFlintBig : public RingInterface
return true;
}

bool set_from_BigReal(ElementType& result, gmp_RR a) const
{
(void) result;
(void) a;
return false;
}

void negate(ElementType& result, const ElementType& a) const
{
fq_nmod_neg(&result, &a, mContext);
Expand Down
7 changes: 0 additions & 7 deletions M2/Macaulay2/e/basic-rings/aring-GF-flint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,6 @@ class ARingGFFlint : public RingInterface
return true;
}

bool set_from_BigReal(ElementType& result, gmp_RR a) const
{
(void) result;
(void) a;
return false;
}

void negate(ElementType& result, const ElementType& a) const
{
fq_zech_neg(&result, &a, mContext);
Expand Down
7 changes: 0 additions & 7 deletions M2/Macaulay2/e/basic-rings/aring-QQ-flint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,6 @@ class ARingQQFlint : public SimpleARing<ARingQQFlint>
return true;
}

bool set_from_BigReal(ElementType& result, gmp_RR a) const
{
(void) result;
(void) a;
return false;
}

void set_var(ElementType& result, int v) const
{
(void) v;
Expand Down
7 changes: 0 additions & 7 deletions M2/Macaulay2/e/basic-rings/aring-ZZ-flint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,6 @@ void set_from_mpz(ElementType& result, mpz_srcptr a) const
return false;
}

bool set_from_BigReal(ElementType& result, gmp_RR a) const
{
(void) result;
(void) a;
return false;
}

void set_var(ElementType& result, int v) const
{
(void) v;
Expand Down
7 changes: 0 additions & 7 deletions M2/Macaulay2/e/basic-rings/aring-ZZp-ffpack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,6 @@ class ARingZZpFFPACK : public SimpleARing<ARingZZpFFPACK>

bool set_from_mpq(ElementType &result, mpq_srcptr a) const;

bool set_from_BigReal(ElementType &result, gmp_RR a) const
{
(void) result;
(void) a;
return false;
}

ElementType computeGenerator() const;

void set_var(ElementType &result, int v) const
Expand Down
7 changes: 0 additions & 7 deletions M2/Macaulay2/e/basic-rings/aring-ZZp-flint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@ class ARingZZpFlint : public SimpleARing<ARingZZpFlint>
return true;
}

bool set_from_BigReal(ElementType &result, gmp_RR a) const
{
(void) result;
(void) a;
return false;
}

// arithmetic
void negate(ElementType &result, ElementType a) const
{
Expand Down
7 changes: 0 additions & 7 deletions M2/Macaulay2/e/basic-rings/aring-ZZp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,6 @@ class ARingZZp : public SimpleARing<ARingZZp>
return true;
}

bool set_from_BigReal(elem &result, gmp_RR a) const
{
(void) result;
(void) a;
return false;
}

// arithmetic
void negate(elem &result, elem a) const
{
Expand Down
7 changes: 0 additions & 7 deletions M2/Macaulay2/e/basic-rings/aring-m2-GF.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,6 @@ class ARingGFM2 : public SimpleARing<ARingGFM2>
return true;
}

bool set_from_BigReal(elem &result, gmp_RR a) const
{
(void) result;
(void) a;
return false;
}

void negate(elem &result, elem a) const
{
if (a != 0)
Expand Down
7 changes: 0 additions & 7 deletions M2/Macaulay2/e/basic-rings/aring-tower.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,6 @@ class ARingTower : public RingInterface
return false;
} // TODO: write this

bool set_from_BigReal(elem &result, gmp_RR a) const
{
(void) result;
(void) a;
return false;
}

// arithmetic
void negate(elem &result, elem a) const
{
Expand Down
Loading
Loading