long double math fixes for LD64