mirror of
https://github.com/ziglang/zig.git
synced 2026-01-04 20:43:19 +00:00
parent
994f4da8d4
commit
5aff641f4b
@ -20,6 +20,8 @@ pub fn ln_workaround(x: var) -> @typeOf(x) {
|
||||
}
|
||||
|
||||
fn lnf(x_: f32) -> f32 {
|
||||
@setFloatMode(this, @import("builtin").FloatMode.Strict);
|
||||
|
||||
const ln2_hi: f32 = 6.9313812256e-01;
|
||||
const ln2_lo: f32 = 9.0580006145e-06;
|
||||
const Lg1: f32 = 0xaaaaaa.0p-24;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user