aboutsummaryrefslogtreecommitdiff
path: root/core/math/math_basic.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-11-16 14:04:49 +0000
committergingerBill <bill@gingerbill.org>2021-11-16 14:04:49 +0000
commit6a101e69a26c09d6a0c8c5ebd6ed27a8ab89d5ee (patch)
tree5fecbc6f35d1f9c1f239fdc4ebb0bc71d3c47d9f /core/math/math_basic.odin
parent1ec0b79345f05d6cdd84707768e1fd6e66004699 (diff)
Implement `ldexp` and `frexp` in native Odin
Diffstat (limited to 'core/math/math_basic.odin')
-rw-r--r--core/math/math_basic.odin7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/math/math_basic.odin b/core/math/math_basic.odin
index 26bf4691d..4995ac9e3 100644
--- a/core/math/math_basic.odin
+++ b/core/math/math_basic.odin
@@ -51,11 +51,4 @@ foreign _ {
exp_f32 :: proc(x: f32) -> f32 ---
@(link_name="llvm.exp.f64")
exp_f64 :: proc(x: f64) -> f64 ---
-
- @(link_name="llvm.ldexp.f16")
- ldexp_f16 :: proc(val: f16, exp: i32) -> f16 ---
- @(link_name="llvm.ldexp.f32")
- ldexp_f32 :: proc(val: f32, exp: i32) -> f32 ---
- @(link_name="llvm.ldexp.f64")
- ldexp_f64 :: proc(val: f64, exp: i32) -> f64 ---
}