inline g_cFloat g_cFloat::m_ffXOr(g_cFloat p_fFloat)
return g_cFloat(m_fFloat ^ p_fFloat);
inline g_cFloat g_cFloat::m_ffXOr(g_cFloat p_fFloat) const
return g_gFloat(m_fFloat ^ p_fFloat);
I was making a modified class for floating point numbers when I suddenly saw there was a need for logic operations such as and, or not and xor, when I got to the xor function. I had made all functions that didn't modify any data in the class constant, but when I tried to perform and xor the constant data it didn't work. why?
Thanks in advance.