Better square root
Helper macros