Skip to content

Commit 43fcdd9

Browse files
committed
Use julia__gnu_h2f_ieee instead of julia_half_to_float
`julia_half_to_float` came in with an LLVM version upgrade after v1.10.
1 parent 18c7abe commit 43fcdd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ static size_t jl_static_show_x_(JL_STREAM *out, jl_value_t *v, jl_datatype_t *vt
10051005
#endif
10061006
}
10071007
else if (vt == jl_float16_type) {
1008-
n += jl_static_show_float(out, julia_half_to_float(*(uint16_t *)v), vt);
1008+
n += jl_static_show_float(out, julia__gnu_h2f_ieee(*(uint16_t *)v), vt);
10091009
}
10101010
else if (vt == jl_float32_type) {
10111011
n += jl_static_show_float(out, *(float *)v, vt);

0 commit comments

Comments
 (0)