Elliptic curve arithmetic: Difference between revisions

Content added Content deleted
m (C++ - enable syntax highlighting)
m (minor c++ edit)
Line 164: Line 164:
// represent Zero with a large negative x. Such points
// represent Zero with a large negative x. Such points
// cannot be on the curve itself.
// cannot be on the curve itself.
bool isBool = m_x <= MagicZeroMarker;
bool isZero = m_x <= MagicZeroMarker;
return isBool;
return isZero;
}
}