Extend unittest for ldexp()

The unit test checks some edge cases for 80bit reals.
This pull request adds a test for platforms which only have 64bit reals (e.g. ARM, PPC).