ap::complex operations ********************************************************************/
| 29 | ap::complex operations |
| 30 | ********************************************************************/ |
| 31 | const 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 | |
| 40 | const bool ap::operator!=(const ap::complex& lhs, const ap::complex& rhs) |
| 41 | { return !(lhs==rhs); } |
nothing calls this directly
no outgoing calls
no test coverage detected