How to use std.math.complex.ldexp_cexp()?

I’m basically looking for the equivalent of std::ldexp() and I found std.math.complex.ldexp_cexp, but it seems to be only accessible internally. Is it available somewhere?

Seems someone just forgot to add the export. Feel free to open an issue

1 Like

As hinted at by the namespace, this function seems to be for complex numbers.
Apparently I can just use std.math.scalbn(), which is identical to ldexp() for radix=2.