Are these lines acceptable to be inlined in C++? : <p>I am working on a mathematical vector. </p>

<p>I usually inline these types of class function members:</p>

<pre><code>float getY() const { return m_y; }
</code></pre>

<p>But are these suitable to be inlined? </p>

<pre><code>float getLength() const { return sqrt(m_x * m_x + m_y * m_y); }  
bool isUnitVector() const { return getLength() == 1.0f; }
Vector2D getZeroVector() const { return Vector2D(); } 
</code></pre>
