Hex Artifact Content
Not logged in

Artifact 11f2738e5241999c030be03537b6eb946cff030c:


0000: 2f 2f 3d 3d 3d 2d 2d 20 6c 69 62 2f 65 78 74 65  //===-- lib/exte
0010: 6e 64 73 66 74 66 32 2e 63 20 2d 20 73 69 6e 67  ndsftf2.c - sing
0020: 6c 65 20 2d 3e 20 71 75 61 64 20 63 6f 6e 76 65  le -> quad conve
0030: 72 73 69 6f 6e 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  rsion ----------
0040: 2d 2d 2d 2a 2d 20 43 20 2d 2a 2d 3d 3d 3d 2f 2f  ---*- C -*-===//
0050: 0a 2f 2f 0a 2f 2f 20 20 20 20 20 20 20 20 20 20  .//.//          
0060: 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 4c             The L
0070: 4c 56 4d 20 43 6f 6d 70 69 6c 65 72 20 49 6e 66  LVM Compiler Inf
0080: 72 61 73 74 72 75 63 74 75 72 65 0a 2f 2f 0a 2f  rastructure.//./
0090: 2f 20 54 68 69 73 20 66 69 6c 65 20 69 73 20 64  / This file is d
00a0: 75 61 6c 20 6c 69 63 65 6e 73 65 64 20 75 6e 64  ual licensed und
00b0: 65 72 20 74 68 65 20 4d 49 54 20 61 6e 64 20 74  er the MIT and t
00c0: 68 65 20 55 6e 69 76 65 72 73 69 74 79 20 6f 66  he University of
00d0: 20 49 6c 6c 69 6e 6f 69 73 20 4f 70 65 6e 0a 2f   Illinois Open./
00e0: 2f 20 53 6f 75 72 63 65 20 4c 69 63 65 6e 73 65  / Source License
00f0: 73 2e 20 53 65 65 20 4c 49 43 45 4e 53 45 2e 54  s. See LICENSE.T
0100: 58 54 20 66 6f 72 20 64 65 74 61 69 6c 73 2e 0a  XT for details..
0110: 2f 2f 0a 2f 2f 3d 3d 3d 2d 2d 2d 2d 2d 2d 2d 2d  //.//===--------
0120: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0130: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0140: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0150: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 3d 3d  --------------==
0160: 3d 2f 2f 0a 2f 2f 0a 0a 23 64 65 66 69 6e 65 20  =//.//..#define 
0170: 51 55 41 44 5f 50 52 45 43 49 53 49 4f 4e 0a 23  QUAD_PRECISION.#
0180: 69 6e 63 6c 75 64 65 20 22 66 70 5f 6c 69 62 2e  include "fp_lib.
0190: 68 22 0a 0a 23 69 66 20 64 65 66 69 6e 65 64 28  h"..#if defined(
01a0: 43 52 54 5f 48 41 53 5f 31 32 38 42 49 54 29 20  CRT_HAS_128BIT) 
01b0: 26 26 20 64 65 66 69 6e 65 64 28 43 52 54 5f 4c  && defined(CRT_L
01c0: 44 42 4c 5f 31 32 38 42 49 54 29 0a 23 64 65 66  DBL_128BIT).#def
01d0: 69 6e 65 20 53 52 43 5f 53 49 4e 47 4c 45 0a 23  ine SRC_SINGLE.#
01e0: 64 65 66 69 6e 65 20 44 53 54 5f 51 55 41 44 0a  define DST_QUAD.
01f0: 23 69 6e 63 6c 75 64 65 20 22 66 70 5f 65 78 74  #include "fp_ext
0200: 65 6e 64 5f 69 6d 70 6c 2e 69 6e 63 22 0a 0a 43  end_impl.inc"..C
0210: 4f 4d 50 49 4c 45 52 5f 52 54 5f 41 42 49 20 6c  OMPILER_RT_ABI l
0220: 6f 6e 67 20 64 6f 75 62 6c 65 20 5f 5f 65 78 74  ong double __ext
0230: 65 6e 64 73 66 74 66 32 28 66 6c 6f 61 74 20 61  endsftf2(float a
0240: 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 5f  ) {.    return _
0250: 5f 65 78 74 65 6e 64 58 66 59 66 32 5f 5f 28 61  _extendXfYf2__(a
0260: 29 3b 0a 7d 0a 0a 23 65 6e 64 69 66 0a           );.}..#endif.