Macaulay2 Engine
Loading...
Searching...
No Matches

◆ set_from_double()

bool M2::ARingRR::set_from_double ( ElementType & result,
double a ) const
inline

Definition at line 161 of file aring-RR.hpp.

162 {
163 result = a;
164 return true;
165 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References result().

Referenced by M2::get_from_double(), M2::mylift(), M2::mylift(), and M2::mypromote().