Add log2p and ln2p