add std.halffloat

Rebase of https://github.com/D-Programming-Language/phobos/pull/1018

Somehow, github created a new pr for the rebase.
what about pure nothrow safe nogc here?