Re: The joy of type aliasing and C
"Alen Ladavac" <[email protected]>
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <[email protected]> |
>There is no portable way to recompress to a float16, since float16 is >not portable. Surely, most hardware cannot work with float16 natively, but it is still useable for lossy compression of some data. As long as I define what I want my float16 to look like, it is not less portable than any other user defined type. Generally, trying to look at a float as if it's some kind of a black box that stores real numbers, is kinda silly. You have to be aware of its internal representation, or you can't work with it (without getting yourself into various precision losses, etc). And once you are aware, you should be able to access it. But I believe we all agree on that, and it's the standard that has a wrong approach here. Alen ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Gamedevlists-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-general Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=557