mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-02 02:32:27 +00:00
Fix compiler runtime for _Float16 type
This commit is contained in:
parent
0ef36489c8
commit
64a9e6fe56
14 changed files with 797 additions and 53 deletions
1
third_party/compiler_rt/fp_trunc_common.inc
vendored
1
third_party/compiler_rt/fp_trunc_common.inc
vendored
|
@ -51,6 +51,7 @@ typedef uint32_t dst_rep_t;
|
|||
static const int dstSigBits = 23;
|
||||
|
||||
#elif defined DST_HALF
|
||||
#error use fp16_trunc.inc
|
||||
typedef uint16_t dst_t;
|
||||
typedef uint16_t dst_rep_t;
|
||||
#define DST_REP_C UINT16_C
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue