May be do it in a less experimental way? ;) I mean without bit operations.