Fix exponent for Float16
Merge pull request #5348 from JuliaLang/anj/exponent

Fix exponent for Float16