Fix frexp for real == double targets
Merge pull request #1506 from jpf91/frexp

Fix std.math.frexp for real == double targets