MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / operator==

Method operator==

src/ap.cpp:31–38  ·  view source on GitHub ↗

ap::complex operations ********************************************************************/

Source from the content-addressed store, hash-verified

29ap::complex operations
30********************************************************************/
31const bool ap::operator==(const ap::complex& lhs, const ap::complex& rhs)
32{
33 volatile double x1 = lhs.x;
34 volatile double x2 = rhs.x;
35 volatile double y1 = lhs.y;
36 volatile double y2 = rhs.y;
37 return x1==x2 && y1==y2;
38}
39
40const bool ap::operator!=(const ap::complex& lhs, const ap::complex& rhs)
41{ return !(lhs==rhs); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected