mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 11:09:25 -04:00
Add __extendhfsf2 for macOS
This commit is contained in:
1 parent
f78b2a6090
commit
394e4fcbad
1 file changed
+5
@@ -719,3 +719,8 @@ gnu_h2f_ieee :: proc "c" (value: u16) -> f32 {
|
||||
gnu_f2h_ieee :: proc "c" (value: f32) -> u16 {
|
||||
return truncsfhf2(value);
|
||||
}
|
||||
|
||||
@(link_name="__extendhfsf2")
|
||||
extendhfsf2 :: proc "c" (value: u16) -> f32 {
|
||||
return gnu_h2f_ieee(value);
|
||||
}
|
||||
Reference in new issue
Block a user