zig/lib/std/math/complex
LemonBoy 44cdafd9d4 std: Fix complex ldexp implementation
Two bugs in the implementation ported from musl made all the complex
functions relying on ldexp return incorrect results in some cases.

Spotted in #9047
2021-06-12 19:56:08 +03:00
..
abs.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
acos.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
acosh.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
arg.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
asin.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
asinh.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
atan.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-17 19:30:38 -07:00
atanh.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
conj.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
cos.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
cosh.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-17 19:30:38 -07:00
exp.zig std: Fix complex ldexp implementation 2021-06-12 19:56:08 +03:00
ldexp.zig std: Fix complex ldexp implementation 2021-06-12 19:56:08 +03:00
log.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
pow.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
proj.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
sin.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
sinh.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-17 19:30:38 -07:00
sqrt.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
tan.zig std.math.Complex: Change new() to init() 2021-05-17 21:57:51 +02:00
tanh.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-17 19:30:38 -07:00