Add casting support for various types of long double representations