1276789Sdim//===-- lib/truncdfsf2.c - quad -> double conversion --------------*- C -*-===// 2276789Sdim// 3353358Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4353358Sdim// See https://llvm.org/LICENSE.txt for license information. 5353358Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6276789Sdim// 7276789Sdim//===----------------------------------------------------------------------===// 8276789Sdim 9276789Sdim#define QUAD_PRECISION 10276789Sdim#include "fp_lib.h" 11276789Sdim 12276789Sdim#if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT) 13276789Sdim#define SRC_QUAD 14276789Sdim#define DST_DOUBLE 15276789Sdim#include "fp_trunc_impl.inc" 16276789Sdim 17353358SdimCOMPILER_RT_ABI double __trunctfdf2(long double a) { return __truncXfYf2__(a); } 18276789Sdim 19276789Sdim#endif 20