Problem 1165. Convert double scalar to half-precision floating point (IEEE 754r)
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 2 Oct 2020
The only thing missing from the test suite are nans,regardless, it's a very good problem. Learned how to extract minus from minus 0, and finally took my time to learn about the controversial denormal floating-points numbers.
Solution Comments
-
1 Comment
Tom Holz
on 8 Jan 2013
This is an elegant and very MATLAB solution--looks easy to vectorize or adapt to single conversion as well.
Problem Recent Solvers5
Suggested Problems
-
21590 Solvers
-
27 Solvers
-
Put two time series onto the same time basis
234 Solvers
-
mathematics , probability problem
53 Solvers
-
21 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!