std.math: added frexp for double and float

For speed.