std.math: added frexp for double and float

For speed.
A have checked 32/64 bit, with and without -O. All works fine.