n * 2exp
import std.meta : AliasSeq; static foreach (T; AliasSeq!(float, double, real)) {{ T r = ldexp(cast(T) 3.0, cast(int) 3); assert(r == 24); T n = 3.0; int exp = 3; r = ldexp(n, exp); assert(r == 24); }}
$(LERF frexp)
See Implementation