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
5c9eb94a2bLemonBoy committed on 6/14/2021, 7:13:53 PM· committed by Andrew Kelleyparent9c1e7de
2 files changedLine totals unavailable