1276789Sdim//===-- lib/extenddftf2.c - double -> quad conversion -------------*- C -*-===// 2276789Sdim// 3276789Sdim// The LLVM Compiler Infrastructure 4276789Sdim// 5276789Sdim// This file is dual licensed under the MIT and the University of Illinois Open 6276789Sdim// Source Licenses. See LICENSE.TXT for details. 7276789Sdim// 8276789Sdim//===----------------------------------------------------------------------===// 9276789Sdim// 10276789Sdim 11276789Sdim#define QUAD_PRECISION 12276789Sdim#include "fp_lib.h" 13276789Sdim 14276789Sdim#if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT) 15276789Sdim#define SRC_DOUBLE 16276789Sdim#define DST_QUAD 17276789Sdim#include "fp_extend_impl.inc" 18276789Sdim 19276789SdimCOMPILER_RT_ABI long double __extenddftf2(double a) { 20276789Sdim return __extendXfYf2__(a); 21276789Sdim} 22276789Sdim 23276789Sdim#endif 24