brintos

brintos / llvm-project-archived public Read only

0
0
Text · 604 B · a2cd106 Raw
17 lines · c
1//===-- lib/extendhfxf2.c - half -> long double conversion --------*- C -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8#include "int_lib.h"9#define SRC_HALF10#define DST_DOUBLE11#include "fp_extend_impl.inc"12 13// Long double are expected to be as precise as double.14COMPILER_RT_ABI xf_float __extendhfxf2(src_t a) {15  return (xf_float)__extendXfYf2__(a);16}17