Add relative error function.
Implement log2, based on some code from fdlibm pow.

Add test suite too.
Add link for log2.